json-schema-form / angular-schema-form-bootstrap

Bootstrap decorator for Angular Schema Form
51 stars 86 forks source link

Validation stops working on some fields when schema passes a certain size #48

Closed jimmycasey closed 5 years ago

jimmycasey commented 6 years ago

Enhancement

As a user, when I use a schema 1833 lines long with I should be able to see validation on all fields

Expected behaviour

All fields should validate no matter the size of the schema

Actual behaviour

When I move from a schema of 1820 lines to a schema of 1833 lines the validation stops working on a single field. Its not related to the field/definition as I have removed the fields that don't validate and another field then shows this behavior instead.

Gist/Plunker/Demo

correct_validation_cookie

html from above pic class="form-control ng-invalid ng-invalid-tv4-302 ng-empty ng-invalid-schema-form ng-touched"

incorrect_validation_cookie

html from above pic class="form-control ng-empty ng-valid-schema-form ng-touched"

Related issues

This is/maybe related to ...

@json-schema-form/angular-schema-form-bootstrap-lead

jimmycasey commented 5 years ago

Issue was caused by our code corrupting schema. Apologies.