MM-29620 Add props to post input to prevent autofill (#4916)
* MM-29620 Add props to post input to prevent autofill * Set autoCompleteType to off instead of none
This commit is contained in:
parent
79d2d7b31d
commit
cb4d875b13
3 changed files with 6 additions and 0 deletions
|
|
@ -291,6 +291,7 @@ exports[`PostDraft Should render the DraftInput 1`] = `
|
|||
<View>
|
||||
<TextInput
|
||||
allowFontScaling={true}
|
||||
autoCompleteType="off"
|
||||
blurOnSubmit={false}
|
||||
disableFullscreenUI={true}
|
||||
keyboardAppearance="light"
|
||||
|
|
@ -316,6 +317,7 @@ exports[`PostDraft Should render the DraftInput 1`] = `
|
|||
}
|
||||
}
|
||||
testID="post_input"
|
||||
textContentType="none"
|
||||
underlineColorAndroid="transparent"
|
||||
/>
|
||||
<View
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
exports[`PostInput should match, full snapshot 1`] = `
|
||||
<ForwardRef(WrappedPasteableTextInput)
|
||||
autoCompleteType="off"
|
||||
blurOnSubmit={false}
|
||||
disableFullscreenUI={true}
|
||||
keyboardAppearance="light"
|
||||
|
|
@ -24,6 +25,7 @@ exports[`PostInput should match, full snapshot 1`] = `
|
|||
"paddingTop": 6,
|
||||
}
|
||||
}
|
||||
textContentType="none"
|
||||
underlineColorAndroid="transparent"
|
||||
/>
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -290,6 +290,8 @@ export default class PostInput extends PureComponent {
|
|||
keyboardType={this.state.keyboardType}
|
||||
onEndEditing={this.handleEndEditing}
|
||||
disableFullscreenUI={true}
|
||||
textContentType='none'
|
||||
autoCompleteType='off'
|
||||
keyboardAppearance={getKeyboardAppearanceFromTheme(theme)}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue