Open Luddinus opened 8 years ago
Hi.
Imagine I have a form where I insert a movie title.
I receive from the response this error JSON e.g:
{ "errors": { "title": "The title must have between 4-32 characters" } }
I see that there is a wrapper "bootstrapHasError", and I would like to insert the error message in the form and set active the 'has-error' class.
The wrapper is this but I dont know how to change things.
<div class="form-group" ng-class="{'has-error': showError}"> <formly-transclude></formly-transclude> </div>
What am I missing?
Thx.
Hi.
Imagine I have a form where I insert a movie title.
I receive from the response this error JSON e.g:
I see that there is a wrapper "bootstrapHasError", and I would like to insert the error message in the form and set active the 'has-error' class.
The wrapper is this but I dont know how to change things.
What am I missing?
Thx.