react-code-input
react-code-input copied to clipboard
autoComplete prop not working
I have passed autoComplete prop to the component but I still see the suggestions from the browser. My code:
<ReactCodeInput
{...input}
ref={this.setRef}
type="number"
fields={4}
autoFocus={true}
autoComplete={"off"}
onChange={(code) => {
form.mutators.setCode(code);
if (code.trim().length === 4) {
this.onSubmit({ code: code });
form.mutators.clearCode();
}
}}
/>
The behavior I get:

same here