我可以用如何更改TextInput上的光標位置? (反應母語)
onSelectionChange={(event) => console.log(event.nativeEvent.selection)}
得到光標位置,但怎麼改?
我可以用如何更改TextInput上的光標位置? (反應母語)
onSelectionChange={(event) => console.log(event.nativeEvent.selection)}
得到光標位置,但怎麼改?
不需要此庫,它內置於RN中 - https://stackoverflow.com/a/49112887/1828637 – Noitidart
一些已經使用TextInput作爲TouchableHighlight,我想按下TextInput然後它被髮送到Actions.Places ({type: 'replace'});
的另一個窗口然後,通過谷歌地方獲得的數據顯示在我的TextInput。 Something like this catch
找到的解決方案 - https://stackoverflow.com/a/49112887/1828637 – Noitidart