Yaroslav Yaroslav - 6 months ago 22
HTML Question

React doesn't render autocomplete off

How do I make react render it?

<input
id={field.name}
className="form-control"
type="text"
placeholder={field.name}
autocomplete="off"
{...field}/>

Answer

Capital "C" autoComplete. Always check the docs for these things:

https://facebook.github.io/react/docs/tags-and-attributes.html