-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Turn off autocomplete #758
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
Comments
I'm wrapping the component doing this: <Select
// ... other props
inputProps={{ ...inputProps, autoComplete: 'off', autoCorrect: 'off', spellCheck: 'off' }}
/> |
Thanks for the tip, I'll try that out! On Fri, Feb 5, 2016, 1:55 AM Sly Bridges [email protected] wrote:
|
Hey @slybridges , so I've tried to follow your suggestion, but can't seem to get it to work. Here's my code:
But chrome goes right ahead and keeps placing a cursor in the box and filling in "United States". Here's a screenshot of that: Do you have any other suggestions for getting this to work? Am I doing something incorrectly? Thanks for the help! |
Hey @slybridges , I looked further into the issue and it seems like my issue was caused by chrome ignoring the "off" parameter. Changing it to a random string, like "none" fixed it: Thanks for the tip! |
Thanks for the feedback & tip @tnrich ! |
Does it work for Safari browsers? When i set |
any update on this question? cause i am having the same issue |
I'm having the same problem, still. I can't figure out any way around it on Safari. |
Hey there,
Thanks for the excellent component.
I believe most browsers respect an
autocomplete='off'
rule: http://www.w3schools.com/tags/att_input_autocomplete.aspI tried to apply an
autocomplete='off'
rule to the react-select box, but couldn't seem to get it to work. Is this something that other people have been able to do? And if not, I'd like to formally request the feature.Thanks!
Thomas
The text was updated successfully, but these errors were encountered: