Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(data) attribute duplicate in multiple example #512

Closed
itumanov opened this issue Nov 10, 2016 · 1 comment
Closed

(data) attribute duplicate in multiple example #512

itumanov opened this issue Nov 10, 2016 · 1 comment

Comments

@itumanov
Copy link

<ng-select (data)="value" [multiple]="true" [items]="items" [disabled]="disabled" (data)="refreshValue($event)"
It's code from http://valor-software.com/ng2-select/ (multiple example), (data) appears 2 times.
Seems like (data)="value" do nothing. So it's a question, how to set initial value of multiselect?

@itumanov
Copy link
Author

ok, found it in issues below: [active] attribute to set initial, but what the purpose of (data)="value" in example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant