Open tdesvenain opened 6 years ago
Same problem
Any solution?
I think the solution would be moving this code... https://github.com/guillotinaweb/ngx-schema-form/blob/master/projects/schema-form/src/lib/formelement.component.ts#L21 ...to each default widget in... https://github.com/guillotinaweb/ngx-schema-form/tree/master/projects/schema-form/src/lib/defaultwidgets
when a control is not valid, the formelement get has-error class
this is not what bootstrap expects: only form-group should have have-error class
now, when a single field has error, all form is under an .has-error class. and error style is applied on all widgets