ng2-select icon indicating copy to clipboard operation
ng2-select copied to clipboard

(data) attribute duplicate in multiple example

Open itumanov opened this issue 10 years ago • 1 comments

<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 avatar Nov 10 '16 15:11 itumanov

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

itumanov avatar Nov 10 '16 15:11 itumanov