You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Unknown DOM property autocomplete. Did you mean autoComplete?
When I use autoComplete works fine.
This is misleading because the name of the DOM property is autocomplete, not autoComplete. React implies that the DOM property is named differently than it really is.
The error message should not claim that autoComplete is the name of a DOM property because it isn’t. I don’t see any mention of a DOM property called autoComplete in the IDL documentation for HTMLInputElement, but I do see mention of autocomplete. It should claim that autoComplete is a “React property name mapped onto a differently-named DOM property” or use some other wording (I’m not good at coming up with wordings).
Do you want to request a feature or report a bug?
bug
What is the current behavior?
I get:
When I use
autoComplete
works fine.This is misleading because the name of the DOM property is
autocomplete
, notautoComplete
. React implies that the DOM property is named differently than it really is.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).
https://jsfiddle.net/binki/84v837e9/133/
What is the expected behavior?
Accepts
autocomplete
, rejectsautoComplete
.OR
The error message should not claim that
autoComplete
is the name of a DOM property because it isn’t. I don’t see any mention of a DOM property calledautoComplete
in the IDL documentation forHTMLInputElement
, but I do see mention ofautocomplete
. It should claim thatautoComplete
is a “React property name mapped onto a differently-named DOM property” or use some other wording (I’m not good at coming up with wordings).Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
react-15.6.1
Same issue exists for at least
HTMLInputElement.autofocus
.The text was updated successfully, but these errors were encountered: