Skip to content

Conversation

@andersonrocha
Copy link
Contributor

I made an improvement in the function 'updateValidationMessage' where now it sweeps errors and search for x-message in the corresponding elemente.
This allows custom messages to any validation error.

Ex:

I made an improvement in the function 'updateValidationMessage' where now it sweeps errors and search for x-message in the corresponding elemente.
This allows custom messages to any validation error.

Ex: <input type="text" name="myInput" ng-model="foo" required required-message="Required foo" ng-minlength="3" minlength-message="'Min length 3'" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant