html5Input
option is set to true
, the Declarative plugin will automatically enable the validators for the following input type and HTML 5 attributes:HTML 5 attribute | Equivalent validator |
---|---|
max="..." | lessThan validator |
min="..." | greaterThan validator |
maxlength="..." | stringLength validator |
minlength="..." | stringLength validator |
pattern="..." | regexp validator |
required | notEmpty validator |
type="color" | color validator |
type="email" | emailAddress validator |
type="range" | between validator |
type="url" | uri validator |