Automatic HTML5 validation on-blur.
You can use use-html5-validation
prop to disable the default HTML5 validation.
This email is invalid
This username is available
# Types and states
You can have a message too
# Icons
# Validation
Automatic HTML5 validation on-blur.
You can use use-html5-validation
prop to disable the default HTML5 validation.
# Password
You can use the password-reveal
prop to add a button that reveals password.
# Sizes
Name | Description | Type | Values | Default |
---|---|---|---|---|
v-model | Binding value | String, Number | — | — |
type | Input type, like native | String | Any native input type, and textarea | text |
size | Vertical size of input, optional | String | is-small , is-medium , is-large | — |
expanded | Makes input full width when inside a grouped or addon field | Boolean | — | false |
password-reveal | Add the reveal password functionality | Boolean | — | false |
loading | Add the loading state to the input | Boolean | — | false |
icon | Icon name to be added | String | — | — |
icon-pack | Icon pack to use | String | mdi , fa , fas , far , fad , fal | mdi |
icon-clickable | Make the icon clickable | Boolean | — | false |
maxlength | Same as native maxlength , plus character counter | String, Number | — | — |
has-counter | Show character counter when maxlength prop is passed | Boolean | — | true |
custom-class | CSS classes to be applied on input | String | — | — |
validation-message | The message which is shown when a validation error occurs | String | — | — |
Any native attribute | — | — | — | — |
This page is open source. Noticed a typo or something's unclear?