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
Warning: Unknown DOM property autocomplete. Did you mean autoComplete? #2882
Comments
React requires camelCasing for DOM attributes, even though the DOM attributes are lower-cased or sometimes hyphenated. However, React always output the correct DOM attribute name in the markup, so unless you're seeing something else, everything is as it should. https://github.com/facebook/react/blob/master/src/browser/ui/dom/HTMLDOMPropertyConfig.js#L47 |
you have to make use of camelcase.React in the console I think it shows you. |
@syranide, both https://github.com/facebook/react/ links are broken. |
I'm not sure what counts as a canonical source, but as near as I can tell, the
autocomplete
input property should be all downcased. I've been having some trouble with form input showing up in Firefox after a refresh and noticed that I hadautoComplete='off'
. Not sure if that will have an effect on the functionality, though.https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement
https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
The text was updated successfully, but these errors were encountered: