Skip to content
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
@martinoss

Description

@martinoss

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions