update autocomplete props, rm textContentType

This commit is contained in:
Samuel Newman
2025-11-17 14:18:24 +02:00
parent 7134f6165d
commit 779946bbee
3 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -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
+2 -2
View File
@@ -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>