Validator
Validator is not a standalone component in DaisyUI Kit. Instead, it's built into supported form components using the validator prop, and by using the ValidatorHint component to display validation messages or hints.
Supported components include:
- Input
- TextArea
- Select
- Toggle
- Checkbox
- validator class: Add the
validatorprop to supported components to enable validation styling. - ValidatorHint: Use this component to show validation messages below your form fields.
See below for usage examples and integration details.
Basic Usage
Please enter a valid email address.
Code Example
Basic.vue