TextInput onChangeText does not fire when cancelling iOS suggested password #21261
Labels
Component: TextInput
Related to the TextInput component.
Platform: iOS
iOS applications.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Using TextInput from 'react-native'
onChangeText fires when iOS "Use Strong Password" is prompted.
However if user clicks "Choose My Own Password", the TextInput value is cleared (by iOS) and the onChangeText is not fired (again).
Therefore, using code like this:
onChangeText={(text) => this.setState({ password: text })}
will not reset this.state.password to '' or undefined or null
The text was updated successfully, but these errors were encountered: