Open Ikdemm opened 1 year ago
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
I have passed autoComplete prop to the component but I still see the suggestions from the browser. My code:
The behavior I get: