[英]How to change cursor position on TextInput? (react-native)
我可以使用光标位置
onSelectionChange={(event) => console.log(event.nativeEvent.selection)}
但是如何改变呢?
有些人使用TextInput作为TouchableHighlight,我想按下TextInput,然后使用Actions.Places ({type: 'replace'});
将其发送到另一个窗口Actions.Places ({type: 'replace'});
然后通过谷歌地方获得的数据显示在我的TextInput中。 像这样的东西抓住了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.