I do have a couple of TextInput fields for user registration and I would like to implement a next button on the keyboard, so that the user can focus the next TextInput field from the previous one. I did it with refs like described here: https://facebook.github.io/react-native/docs/textinput.html
When I use the TextInput component from shoutem/ui, I do get an error message (see screenshot) that the function focus is not defined. However when I import the TextInput component from react-native it works.
I do have a couple of
TextInput
fields for user registration and I would like to implement anext
button on the keyboard, so that the user can focus the nextTextInput
field from the previous one. I did it withrefs
like described here: https://facebook.github.io/react-native/docs/textinput.htmlWhen I use the
TextInput
component fromshoutem/ui
, I do get an error message (see screenshot) that the functionfocus
is not defined. However when I import theTextInput
component fromreact-native
it works.