fix:(web): otp autocomplete defaults to off (#4662)

This sets the autocomplete value to one-time-code instead of using the default of off.

Fixes #4660
pull/4663/head
James Elliott 2022-12-29 13:09:01 +11:00 committed by GitHub
parent 2f58ab0c65
commit 5a101fbe87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ const OTPDial = function (props: Props) {
isDisabled={props.state === State.InProgress || props.state === State.Success}
isInputNum
hasErrored={props.state === State.Failure}
autoComplete="one-time-code"
inputStyle={classnames(
styles.otpDigitInput,
props.state === State.Failure ? styles.inputError : "",