Validation
You can setup validation on form or field level using the following properties:
validator
property of the Field componentvalidator
property of the Kendo UI for Vue FieldArray componentvalidator
property of the Kendo UI for Vue Form component
Field validation
Field level validation is useful for simple validation of single field value (for example.: field is valid email). The validation function receives value
as first argument and expects validation message to be returned if value is not valid.
FieldArray validation
Field array level validation is useful for simple validation of arrays, such as ensuring the array contains a minimum number of records. The validation function receives value
as first argument and expects validation message to be returned if value is not valid.
Form validation
Form validation can be used for complex validation between more fields, where using the field level validation is not convenient.