[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>
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user