-
Notifications
You must be signed in to change notification settings - Fork 58
i want to inject new line between error message. #100
Comments
The error messages are concatenated and I won't change that behavior. So basically, there is no way of separating them and I will not change my code either. On the other hand, if you find the message to be too long, you could display only the last error. See the Wiki - Global Options with the option of |
If you want to make a pull request though, I might accept it... but I just don't want to spend time on this myself. |
- Enhancement #100, add Global Option (errorMessageSeparator) for a Separator between error messages. - Enhancement #101, add Global Option (preValidateValidationSummary) to disable pre-validation in Validation Summary if need be. - Also found and fixed a problem with a try-catch throw javascript error in Custom Validation.
Added a new Global Option named Your code could look like this: var vs = new validationService({ errorMessageSeparator: "<br/><li>" }); Please note that the Validation Summary will also contain the extra HTML code and to display proper HTML code with an If you like the Angular-Validation package, you can also click on Star on top, if you haven't done it already. Thanks |
thanks ^^ |
how can i?
The text was updated successfully, but these errors were encountered: