How do I make react render it?
<input id={field.name} className="form-control" type="text" placeholder={field.name} autocomplete="off" {...field}/>
Easy solution: Instead of autocomplete='off', use autoComplete='off' and BANG!
The React AutoComplete supports the autofill behavior with the help of autofill property. Whenever you change the input value and press the down key, the AutoComplete will autocomplete your data by matching the typed character. Suppose, if no matches found then, AutoComplete doesn't suggest any item.
Use the <input> tag with autocomplete attribute. Set the autocomplete attribute to value “off”.
How to disable autocomplete on react native paper TextInput? with autoComplete="off" render autocomplete="noop" on the web. Bookmark this question. Show activity on this post. The autoComplete="off" is replaced with autocomplete="noop" in the rendered HTML, which cause the auto complete not to be disabled.
Capital "C" autoComplete
. This is mentioned in the React documentation:
https://reactjs.org/docs/dom-elements.html#all-supported-html-attributes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With