Autofill not disable. textContentType='none' not work
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
React Native Environment Info:
System:
OS: macOS 10.14.1
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 315.84 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.10.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 27, 28
Build Tools: 27.0.3, 28.0.2, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.1 => 16.6.1
react-native: ^0.57.5 => 0.57.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Description
I use autofill for login form. For registration form i disable autofill.
textContentType='none'
but autofill is work and show hint
Reproducible Demo
- setting associated domains
- make credentials
- test autofill
My full code
<TextInput
textContentType='none'
style={{ flex: 1, height: '100%' }}
ref={(v) => {
this.regEmailInput = v;
}}
value={email}keyboardType="email-address"
placeholderTextColor="#bbb"
autoCapitalize="none"
placeholder={t('Email')}
underlineColorAndroid="transparent"
onChangeText={this.handleEmail}
/>
<TextInput
secureTextEntry
textContentType='none'
style={{ flex: 1, height: '100%' }}
ref={(v) => {
this.regPasswordInput = v;
}}
placeholderTextColor="#bbb"
autoCapitalize="none"
placeholder={t('At least 8 symbols')}
underlineColorAndroid="transparent"
onChangeText={this.handlePassword}
/>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:15 (6 by maintainers)
Top Results From Across the Web
How to disable autocomplete on react native paper TextInput ...
TextInput in react-native-web API says it follows The HTML autocomplete attribute, but it doesn't work. ... for ios textContentType={'none'}.
Read more >How Do I Disable or Clear AutoFill/AutoComplete Information?
In Google Chrome, you will want to not only turn off autofill data, but also clear it. Instructions are listed below. Turning Off...
Read more >TextInput - React Native
To disable autofill, set textContentType to none . Possible values for textContentType are: none; URL; addressCity; addressCityAndState ...
Read more >Stopping Chrome from ignoring autocomplete=off - Adam Silver
Autofill (or autocomplete) attributes tell browsers to automatically fill out an answer for the user if the user has stored that information ...
Read more >Unable to get password autofill effect to work - MSDN - Microsoft
I follow the guide till the Domain association section since from what i read it does not seems to be needed for my...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing as we don’t have a repro for this, even after requesting it. Happy to reopen if you find a way to repro.
@shamilovtim Same experience with iOS 13 update.