[APP-835] trim end of email during login (#1242)
* trim end of email during login * Switch trimEnd() to trim() --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>zio/stable
parent
fb1199e21d
commit
3aadc43c89
|
@ -402,7 +402,9 @@ const LoginForm = ({
|
||||||
blurOnSubmit={false} // prevents flickering due to onSubmitEditing going to next field
|
blurOnSubmit={false} // prevents flickering due to onSubmitEditing going to next field
|
||||||
keyboardAppearance={theme.colorScheme}
|
keyboardAppearance={theme.colorScheme}
|
||||||
value={identifier}
|
value={identifier}
|
||||||
onChangeText={str => setIdentifier((str || '').toLowerCase())}
|
onChangeText={str =>
|
||||||
|
setIdentifier((str || '').toLowerCase().trim())
|
||||||
|
}
|
||||||
editable={!isProcessing}
|
editable={!isProcessing}
|
||||||
accessibilityLabel="Username or email address"
|
accessibilityLabel="Username or email address"
|
||||||
accessibilityHint="Input the username or email address you used at signup"
|
accessibilityHint="Input the username or email address you used at signup"
|
||||||
|
|
Loading…
Reference in New Issue