Second: What about text input? EditableText doesn't seem like a component to provide proper input(if text is an empty string you can't even start typing)
l
louis993546
06/11/2019, 10:15 AM
When user type something, onValueChange should be trigger, and the code need to pass that back to value: EditorState, and that will get passed down to Text to actually print the text onto the screen
v
Vladimir Ivanov
06/11/2019, 10:21 AM
Yeah, I got that, but how do you even focus the EditableText with initialValue = "" ?
f
Fudge
06/11/2019, 10:22 AM
Try adding a load of spaces
Or tabs, rather
m
matvei
06/11/2019, 10:27 AM
EditableText (name TBD) is in progress and not ready yet. Please, bear in mind that compose is not ready for use in apps and huge chunk of components aren't implemented yet or will be changed, both API-wise and behaviour-wise.
v
Vladimir Ivanov
06/11/2019, 10:49 AM
Hey, Matvei, glad to see ya! Wanna come to Moscow's Mobius this year and tell about Compose?