AngularStrap and AngularUI dynamic select implementation(static/sync/async/http, filters) for Angular Schema Form
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
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()