From 4df9ad5e2abf8665ce1e756b87cbeea49f7f8a36 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 22 Sep 2021 16:02:29 -0600 Subject: [PATCH] change password onChangeText handler --- src/pages/ReimbursementAccount/CompanyStep.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/ReimbursementAccount/CompanyStep.js b/src/pages/ReimbursementAccount/CompanyStep.js index 3af8714e784c..0bc66f9ef3a4 100644 --- a/src/pages/ReimbursementAccount/CompanyStep.js +++ b/src/pages/ReimbursementAccount/CompanyStep.js @@ -278,7 +278,10 @@ class CompanyStep extends React.Component { containerStyles={[styles.mt4]} secureTextEntry textContentType="password" - onChangeText={value => this.clearErrorAndSetValue('password', value)} + onChangeText={(value) => { + this.setState({password: value}); + this.clearError('password'); + }} value={this.state.password} onSubmitEditing={this.submit} errorText={this.getErrorText('password')}