This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
Adding custom validation directive removes all selected values #981
Open
Description
I added a custom validation directive to ui-select that validates all selected items to make sure each item has a valid email property.
But after validation returns falsy, all selected items gets lost:
http://plnkr.co/edit/gW52dvUjMx4ydHEaHa4a?p=preview