VOtpInput API
name | type | default |
|---|---|---|
boolean
| false | |
Automatically focuses the first input on page load | ||
string
| undefined | |
Sets the color of the input when it is not focused. | ||
string
| undefined | |
Applies specified color to the control’s background. Used on components that also support the color prop. - supports utility colors with or without | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
boolean
| null | |
Removes the ability to click or target the input. | ||
string
| undefined | |
Specifies the dividing character between items. | ||
boolean
| false | |
Puts the input in a manual error state. | ||
boolean
| false | |
Puts all inputs into a focus state when any are focused | ||
boolean
| false | |
Forces a focused state styling on the component. | ||
string | number | undefined | |
Sets the height for the component. | ||
string
| '$vuetify.input.otp' | |
Sets the text of the v-label or v-field-label component. | ||
string | number | 6 | |
The OTP field’s length. | ||
string | boolean | false | |
Displays linear progress bar. Can either be a String which specifies which color is applied to the progress bar (any material color or theme color - primary, secondary, success, info, warning, error) or a Boolean which uses the component color (set by color prop - if it’s supported by the component) or the primary color. | ||
boolean
| false | |
Hides the entered characters with bullets, similar to a password input, but makes it possible to also restrict characters to digits with | ||
string | number | undefined | |
Sets the maximum height for the component. | ||
string | number | undefined | |
Sets the maximum width for the component. | ||
string | number | undefined | |
Sets the minimum height for the component. | ||
string | number | undefined | |
Sets the minimum width for the component. | ||
string | number | undefined | |
The v-model value of the component. If component supports the multiple prop, this defaults to an empty array. | ||
string
| undefined | |
Sets the input’s placeholder text. | ||
string | number | boolean | undefined | |
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
'number' | 'text' | 'password' | 'number' | |
Supported types: | ||
| 'outlined' | 'plain' | 'underlined' | 'filled' | 'solo' | 'solo-inverted' | 'solo-filled' | 'outlined' | |
Applies a distinct style to the component. | ||
string | number | undefined | |
Sets the width for the component. | ||
name | type | |
|---|---|---|
[string] | ||
Emitted when the input is filled completely and cursor is blurred. | ||
[boolean] | ||
Emitted when the input is focused or blurred | ||
[string] | ||
Event that is emitted when the component’s model changes. | ||
name | default |
|---|---|
.5rem | |
64px | |
320px | |
.5rem | |
360px | |
0 8px | |
1.25rem | |
.5rem 0 |