etn-ccis/blui-react-native-workflows

Passing onChangeText in emailTextInputProps is not getting called

Closed this issue · 1 comments

Describe the bug / expected behavior

What are the steps to reproduce?

  1. Pass onChangeText in emailTextInputProps in ForgotPasswordScreen and CreateAccountScreen
  2. Observe passed callback onChangeText function is not getting called

Screenshots / Screen recording

Screenshot 2024-04-26 at 9 14 45 AM Screenshot 2024-04-26 at 9 14 27 AM

Code snippet / Link to minimum reproduction example

<ForgotPasswordScreen emailTextInputProps={{ onChangeText: () => console.log('test') }} />
<CreateAccountScreen emailTextFieldProps={{ onChangeText: () => console.log('test') }} />

Your environment information

Suggested fix

Anything else to add?

Fixed here #471