mirror of
https://github.com/laurent22/joplin.git
synced 2026-03-13 08:09:59 +08:00
Mobile: Resolves #14603: Password and confirm password fields when enabling encryption auto capitalise first character (#14611)
This commit is contained in:
@@ -112,6 +112,10 @@ const EncryptionConfigScreen = (props: Props) => {
|
||||
selectionColor={theme.textSelectionColor}
|
||||
keyboardAppearance={theme.keyboardAppearance}
|
||||
secureTextEntry={true}
|
||||
autoCapitalize='none'
|
||||
autoCorrect={false}
|
||||
textContentType='newPassword'
|
||||
importantForAutofill='yes'
|
||||
value={password}
|
||||
onChangeText={(text: string) => onInputPasswordChange(mk, text)}
|
||||
style={inputStyle}
|
||||
@@ -180,6 +184,10 @@ const EncryptionConfigScreen = (props: Props) => {
|
||||
keyboardAppearance={theme.keyboardAppearance}
|
||||
style={styles.normalTextInput}
|
||||
secureTextEntry={true}
|
||||
autoCapitalize='none'
|
||||
autoCorrect={false}
|
||||
textContentType='password'
|
||||
importantForAutofill='yes'
|
||||
value={passwordPromptAnswer}
|
||||
onChangeText={(text: string) => {
|
||||
setPasswordPromptAnswer(text);
|
||||
@@ -193,6 +201,10 @@ const EncryptionConfigScreen = (props: Props) => {
|
||||
keyboardAppearance={theme.keyboardAppearance}
|
||||
style={styles.normalTextInput}
|
||||
secureTextEntry={true}
|
||||
autoCapitalize='none'
|
||||
autoCorrect={false}
|
||||
textContentType='newPassword'
|
||||
importantForAutofill='yes'
|
||||
value={passwordPromptConfirmAnswer}
|
||||
onChangeText={(text: string) => {
|
||||
setPasswordPromptConfirmAnswer(text);
|
||||
@@ -249,6 +261,10 @@ const EncryptionConfigScreen = (props: Props) => {
|
||||
selectionColor={theme.textSelectionColor}
|
||||
keyboardAppearance={theme.keyboardAppearance}
|
||||
secureTextEntry={true}
|
||||
autoCapitalize='none'
|
||||
autoCorrect={false}
|
||||
textContentType='password'
|
||||
importantForAutofill='yes'
|
||||
value={inputMasterPassword}
|
||||
onChangeText={(text: string) => onMasterPasswordChange(text)}
|
||||
style={inputStyle}
|
||||
|
||||
Reference in New Issue
Block a user