You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when validation fails on a minlength error (with validation-min-length="{template:'/views/errorTemplateOne.html', value:6}"), it just shows the error message, without any of the <div> or <small> that I added.
The text was updated successfully, but these errors were encountered:
Using that same <small class="error"></small> template, then on the 11th character it shows the proper error message, but if I type more characters it shows "Maximum of undefined characters", and the error message persists.
See the branch I made, https://github.com/csaftoiu/angular-ui-form-validation/tree/fix-custom-template . On the demo, I changed
/views/errorTemplateOne.html
to:However, when validation fails on a minlength error (with
validation-min-length="{template:'/views/errorTemplateOne.html', value:6}"
), it just shows the error message, without any of the<div>
or<small>
that I added.The text was updated successfully, but these errors were encountered: