Appearance
Validation
Client side validation is handled by vee-validate v4
Available Rules
- alpha
- alpha_dash
- alpha_num
- alpha_spaces
- between
- confirmed
- digits
- dimensions
- excluded
- ext
- image
- one_of
- integer
- is
- is_not
- length
- max
- max_value
- mimes
- min
- min_value
- numeric
- regex
- required
- size
- url
- max_length (custom)
- min_length (custom)
Field Validation
Code Example
html
<IuInput name="First Name" validations="required"></IuInput>
Live Demo
Custom Validation
INFO
Custom validation registration is only available if you use registerVueForm method. If you are using a Vue application you can register rules using the vee-validate helpers in your app setup process.
You can provide custom validation rules for your form. A rule is an Object with the following structure:
- rule: vee-validate compatible function that checks the given values.
- message: Optional string or Object
({de: message})
to provide messages for your validation
For further Information check the vee-validate docs: https://vee-validate.logaretm.com/v4/guide/global-validators#configuring-global-validators