validity-label
directive in module validity
validity-label
validity-labelDisplay validation messages for a validity input
Usage
as element:
<validity-label
for="string">
</validity-label>
Arguments
| Param | Type | Details |
|---|---|---|
| for | string | The name of the validity input to bind to |
Examples
Example 01: validity-message (multiple)
The "required" rule and "email" rule are used with a validity-label configured to display the validity-message-<rule> value. Input validation is triggered by the "blur" validity-event, and form validation is triggered when it's submitted via an ng-submit. The style option is configured for Bootstrap 3.
Updated over 8 years ago
