react-verification-input icon indicating copy to clipboard operation
react-verification-input copied to clipboard

Autocomplete not working on chrome

Open kevinvugts opened this issue 8 months ago • 1 comments

hi @andreaswilli

Is it possible to have a look at the autocomplete functionality? At the moment it isn't working if you add the attribute "inputProps={{ autoComplete: "one-time-code" }} " as suggested in the docs.

I would like to have the experience that users do not have to click on a confirm button but that the browser fills in the OTP field automatically and auto submits the form.

Could you elaborate a bit more on this?

Thanks!

kevinvugts avatar Jul 21 '25 15:07 kevinvugts

hi @kevinvugts

I think as the autocomplete functionality is an Apple feature it only works in Safari (iOS and macOS) so with Chrome you're probably out of luck, unfortunately.

As for automatically submitting, you can definitely do that by using the onComplete event.

andreaswilli avatar Jul 21 '25 20:07 andreaswilli