OptimalBPM / angular-schema-form-dynamic-select

AngularStrap and AngularUI dynamic select implementation(static/sync/async/http, filters) for Angular Schema Form
MIT License
55 stars 45 forks source link

ASF form definition variables for disabling/enabling validation aren't applied to uiSelect or strapSelect templates. #107

Open krptodr opened 7 years ago

krptodr commented 7 years ago

It seems the templates aren't implementing the disableErrorState and disableSuccessState parameters from the form definition.

Adding the values to ng-class on the templates allows disabling validation.

ng-class=\"{\'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess()

nicklasb commented 4 years ago

Just mentioning that I am very appreciative of pull requests. :-)