Imagine a scenario where we've integrated this library into mobile devices. When a user receives an OTP on their device, the code appears on the keyboard for autocompletion instead of manual typing. However, clicking on the OTP previously only completed one digit. With this PR, I've updated the autoComplete field value from 'off' to 'one-time-code'. Now, users have the option to autofill the entire OTP once it's received.
What does this PR do?
It resolves the issue with OTP autocompletion.
Any background context you want to provide?
Imagine a scenario where we've integrated this library into mobile devices. When a user receives an OTP on their device, the code appears on the keyboard for autocompletion instead of manual typing. However, clicking on the OTP previously only completed one digit. With this PR, I've updated the autoComplete field value from 'off' to 'one-time-code'. Now, users have the option to autofill the entire OTP once it's received.