valor-software / ng2-select

Angular based replacement for select boxes
http://valor-software.github.io/ng2-select/
MIT License
676 stars 588 forks source link

required="false" is not working #951

Open dilotec-2015 opened 6 years ago

dilotec-2015 commented 6 years ago

when i set [multiple]="true", [required]="false" and don't choose any item the state should be "ng-valid" but it is "ng-invalid" and i can't save my form because the form is also invalid. only when i choose at last one item the state become "ng-valid". i need a possibility to save forms with ng-select in multiple modus without any choice (item)

ng-select version: [2.0.0]

browser: [chrome, firefox]

khoanguyen2610 commented 6 years ago

I got same issue. Form-control always invalid

suparnavg commented 6 years ago

Facing the same issue, except for a "single" module as well. Did you manage to figure this out?