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
Yes - looks like angular validation is happening on blur. The popup "Please enter a {{form.type}}", which is appearing on form submission, is coming from somewhere else. I disabled the button controlling form submission if any form fields were invalid, so the popup wasn't an adequate solution.
Yes - I added the following markup below the tag in default.html in schema-form-decorators (which I think defines the template for a default form field). The styled error message now shows up on blur when you've touched the form field and it's invalid.
<divclass="field-caption" ng-if="ngModel.$touched && ngModel.$invalid"><span>Please enter a {{form.type}}</span></div>
Hello,
I was reading through issue #27 and am currently using the validation onBlur feature that you added with ngModelOptions - very nice!
My questions:
Thanks!
The text was updated successfully, but these errors were encountered: