I've finally managed to load the softsimon angular-2-multiselect-dropdown. How do i get the selected options ?
I'm using softsimon angular-2-multiselect-dropdown v 0.4.0
**Edit: **
<ss-multiselect-dropdown [options]="ArrayObject" [texts]="myTexts" [settings]="mySettings" (onModelChange)="dummy"></ss-multiselect-dropdown>
ArrayObject is :
for(let x = 0; x < this.productArray.length ; x++ ){
let temp={id : x , name : this.productArray[x]};
this.ArrayObject[x]=temp;
}
Output asked :
[ { "id": 0, "name": "redBox" }, { "id": 1, "name": "orangeBox" } ]
Thanks in advance
this.ArrayObject.push({id : x , name : this.productArray[x]});. What do you get if you add<div>{{ArrayObject | json}}</div>to your page? Can you please add this output to your question as well?