Reputation: 2466
I can get cursor position using
onSelectionChange={(event) => console.log(event.nativeEvent.selection)}
But how to change it?
Upvotes: 4
Views: 6671
Reputation:
some have used the TextInput as TouchableHighlight, I want to press the TextInput and then it is sent to another window with the Actions.Places ({type: 'replace'});
Then that data obtained through google places are shown in my TextInput. Something like this catch
Upvotes: 0
Reputation: 4528
react-native-textinput-utils <- This lib can help u.
Till now there's no api for us to change it.
You could subscribe this issue for furture improvement.
Upvotes: 2