Component: OtpField
A field component for entering OTP (One-Time Password) codes.
typescript
import OtpField from '@nhtio/vuetify-fields/components/fields/otp'
Examples
vue
<OtpField v-model="otpValue" label="Enter OTP" />
Result
Reference
Events
Name | Type | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
update:modelValue | (val: string | null | number) => void | |||||||||
Emitted when the value is changed. | ||||||||||
| ||||||||||
update:model-value | (val: string | null | number) => void | |||||||||
Emitted when the value is changed. | ||||||||||
| ||||||||||
update | (val: string | null | number) => void | |||||||||
Emitted when the value is changed. | ||||||||||
|