joaoneto / angular-bootstrap-select

DEPRECATED DON'T USE - Directive to wrap bootstrap-select
105 stars 81 forks source link

ng-required="true" shows as an error on load of pristine form #9

Open rkoberg opened 10 years ago

rkoberg commented 10 years ago

If I put ng-required="true" on a selectpicker select it is $invalid: true, $pristine: false, and $modelValue: undefined

Without the ng-required, the $modelValue: null (and, of course, no error on load)

I am working around this with custom validation, but was wondering if this is a known issue or fact of life.

joaoneto commented 10 years ago

Hello @rkoberg I just pushed a new tag, this probably resolves