aria-invalid
|
Boolean
or
String
|
false
|
Sets the 'aria-invalid' attribute with the specified value
|
autocomplete
|
String
|
|
Sets the 'autocomplete' attribute value on the form control
|
autofocus
|
Boolean
|
false
|
When set to `true`, attempts to auto-focus the control when it is mounted, or re-activated when in a keep-alive. Does not set the `autofocus` attribute on the control
|
debounce
v2.1.0+
|
Number
or
String
|
0
|
When set to a number of milliseconds greater than zero, will debounce the user input. Has no effect if prop 'lazy' is set
|
disabled
|
Boolean
|
false
|
When set to `true`, disables the component's functionality and places it in a disabled state
|
form
|
String
|
|
ID of the form that the form control belongs to. Sets the `form` attribute on the control
|
formatter
|
Function
|
|
Reference to a function for formatting the input
|
id
|
String
|
|
Used to set the `id` attribute on the rendered content, and used as the base to generate any additional element IDs as needed
|
lazy
v2.1.0+
|
Boolean
|
false
|
When set, updates the v-model on 'change'/'blur' events instead of 'input'. Emulates the Vue '.lazy' v-model modifier
|
lazy-formatter
|
Boolean
|
false
|
When set, the input is formatted on blur instead of each keystroke (if there is a formatter specified)
|
list
|
String
|
|
The ID of the associated datalist element or component
|
max
|
Number
or
String
|
|
Value to set in the 'max' attribute on the input. Used by number-like inputs
|
min
|
Number
or
String
|
|
Value to set in the 'min' attribute on the input. Used by number-like inputs
|
name
|
String
|
|
Sets the value of the `name` attribute on the form control
|
no-wheel
|
Boolean
|
false
|
For number-like inputs, disables the mouse wheel from incrementing or decrementing the value
|
number
|
Boolean
|
false
|
When set attempts to convert the input value to a native number. Emulates the Vue '.number' v-model modifier
|
placeholder
|
String
|
|
Sets the `placeholder` attribute value on the form control
|
plaintext
|
Boolean
|
false
|
Set the form control as readonly and renders the control to look like plain text (no borders)
|
readonly
|
Boolean
|
false
|
Sets the `readonly` attribute on the form control
|
required
|
Boolean
|
false
|
Adds the `required` attribute to the form control
|
size
|
String
|
|
Set the size of the component's appearance. 'sm', 'md' (default), or 'lg'
|
state
|
Boolean
|
null
|
Controls the validation state appearance of the component. `true` for valid, `false` for invalid, or `null` for no validation state
|
step
|
Number
or
String
|
|
Value to set in the 'step' attribute on the input. Used by number-like inputs
|
trim
|
Boolean
|
false
|
When set, trims any leading and trailing white space from the input value. Emulates the Vue '.trim' v-model modifier
|
type
|
String
|
'text'
|
The type of input to render. See the docs for supported types
|
value
v-model
|
Number
or
String
|
''
|
The current value of the input. Result will always be a string, except when the `number` prop is used
|