-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autofill not disable. textContentType='none' not work #22407
Comments
Does this also happen if you don't load the login flow at all and show sign up as the only screen? It looks to me like the autofill from the previous field may still be shown. |
I not testing sing up screen as the only screen. |
All RN does is pass that property to the native view:
I know there was some issues with textContentType not working as expected on various iOS versions; https://stackoverflow.com/questions/39633117/how-can-i-get-uitextfields-textcontenttype-property-to-do-anything. What version of iOS are you trying this on? Also, I think we should probably map to the constants in RN code instead of directly passing the string: The underlying string value could change from one version of iOS to another. |
I test on latest IOS 12.1 |
@cbrevik do you know if the described behavior deviates from how it used to work or how it is intended to work? I'm unsure about the details of textContentType on iOS. There is a minimal repro here: https://snack.expo.io/@bartolkaruza/rn_22407 |
Used to work on iOS 11 for me, but I don't use that functionality any more so not sure how it is now. In your repro the autofill-button never shows up on my device at least. But I see there has been some work in #22579. It has later been reverted, but looks like they are on it? |
@levibuzolic @shergin is #22579 related to this issue? |
Trying to fix problem. I have 2 username and 2 password fields on the screen. I don't know why but it prefills corrent field but changes focus to the wrong one (to the field that is not in visible zone currently). Keep working to find workaround |
#22611 (updated PR for #22579) could be somewhat related however if it's not working currently then I don't think it'll fix it.
I'll try and test it out soon and see if I can find a value/combination that will disable the auto fill properly. |
@fonov interesting that it's prompting for password in your email field -- the OS must be seeing "password" as a text label on the screen and inferring that the current field might be a password field. Have you tried adding |
Bumping for more information, from the thread it sounds like we don't know how to repro |
Closing as we don't have a repro for this, even after requesting it. Happy to reopen if you find a way to repro. |
#21911 (comment) what about this? |
This is still an issue |
@shamilovtim Same experience with iOS 13 update. |
Environment
Description
I use autofill for login form. For registration form i disable autofill.
but autofill is work and show hint
Reproducible Demo
My full code
The text was updated successfully, but these errors were encountered: