Every time i type at Input in my app the text disappear and keyboard close, i searched forms to solve this but there is not many things, actually nothing that help me.
Then this is my code, the useState:
const [nameRoom, setNameRoom] = useState('');
The textInput:
<TextInput
style={styles.modalTextInput}
onChangeText={(txt) => setNameRoom(txt)}
value={nameRoom}
/>
I think that my code is ok, but i think that there is another thing on my full code that is cause of the problem
Via Active questions tagged javascript - Stack Overflow https://ift.tt/Ne1lc8z
Comments
Post a Comment