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 #4660pull/4663/head
parent
2f58ab0c65
commit
5a101fbe87
|
@ -34,6 +34,7 @@ const OTPDial = function (props: Props) {
|
||||||
isDisabled={props.state === State.InProgress || props.state === State.Success}
|
isDisabled={props.state === State.InProgress || props.state === State.Success}
|
||||||
isInputNum
|
isInputNum
|
||||||
hasErrored={props.state === State.Failure}
|
hasErrored={props.state === State.Failure}
|
||||||
|
autoComplete="one-time-code"
|
||||||
inputStyle={classnames(
|
inputStyle={classnames(
|
||||||
styles.otpDigitInput,
|
styles.otpDigitInput,
|
||||||
props.state === State.Failure ? styles.inputError : "",
|
props.state === State.Failure ? styles.inputError : "",
|
||||||
|
|
Loading…
Reference in New Issue