Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Hide text cursor input React Native

I am using React Native and I would like to remove the cursor from text input.

How can I remove the cursor either using JavaScript or Android Functionality ?

like image 568
Goldy Avatar asked Dec 14 '18 11:12

Goldy


1 Answers

Try:

<TextInput caretHidden={true} ... />

See: https://facebook.github.io/react-native/docs/textinput#carethidden

like image 93
mtkopone Avatar answered Oct 17 '22 01:10

mtkopone