Rules
configurationSet of custom validation rules. Those rules will extend the built-in ones.
Default rules:
- required - The rule requires that the element has a value.
- pattern - The rule constrains the value to match a specific regular expression.
- max - The rule constrains the maximum numeric values that can be entered.
- min - The rule constrains the minimum numeric values that can be entered.
- step - When used in combination with the min and max attributes, constrains the granularity of the values that can be entered.
- url - The rule constrains the value to a valid URL format.
- email - The rule constrains the value to a valid email format.
- date - The rule constrains the value to a valid date format.
rules
Object