Validators should provide validation rules as metadata so that other components can use them.
For example: required validation could cause a form field to display a required indicator, or maxLength validation could be used by an input field for its maxLength attribute
Validators should provide validation rules as metadata so that other components can use them.
For example: required validation could cause a form field to display a required indicator, or maxLength validation could be used by an input field for its maxLength attribute