[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
|
||||
keyboardAppearance={theme.colorScheme}
|
||||
value={identifier}
|
||||
onChangeText={str => setIdentifier((str || '').toLowerCase())}
|
||||
onChangeText={str =>
|
||||
setIdentifier((str || '').toLowerCase().trim())
|
||||
}
|
||||
editable={!isProcessing}
|
||||
accessibilityLabel="Username or email address"
|
||||
accessibilityHint="Input the username or email address you used at signup"
|
||||
|
|
Loading…
Reference in New Issue