Skip to content

TextInput onChangeText does not fire when cancelling iOS suggested password #21261

Closed
@geooogle

Description

@geooogle

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: TextInputRelated to the TextInput component.Platform: iOSiOS applications.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions