update autocomplete props, rm textContentType
This commit is contained in:
@@ -232,11 +232,10 @@ export const LoginForm = ({
|
||||
label={_(msg`Password`)}
|
||||
autoCapitalize="none"
|
||||
autoCorrect={false}
|
||||
autoComplete="password"
|
||||
autoComplete="current-password"
|
||||
returnKeyType="done"
|
||||
enablesReturnKeyAutomatically={true}
|
||||
secureTextEntry={true}
|
||||
textContentType="password"
|
||||
clearButtonMode="while-editing"
|
||||
onChangeText={v => {
|
||||
passwordValueRef.current = v
|
||||
|
||||
@@ -147,10 +147,10 @@ export const SetNewPasswordForm = ({
|
||||
label={_(msg`Enter a password`)}
|
||||
autoCapitalize="none"
|
||||
autoCorrect={false}
|
||||
autoComplete="password"
|
||||
returnKeyType="done"
|
||||
secureTextEntry={true}
|
||||
textContentType="password"
|
||||
autoComplete="new-password"
|
||||
passwordRules="minlength: 8;"
|
||||
clearButtonMode="while-editing"
|
||||
value={password}
|
||||
onChangeText={setPassword}
|
||||
|
||||
@@ -211,6 +211,7 @@ function Inner() {
|
||||
secureTextEntry
|
||||
autoCapitalize="none"
|
||||
autoComplete="new-password"
|
||||
passwordRules="minlength: 8;"
|
||||
/>
|
||||
</TextField.Root>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user