angularjs-dropdown-multiselect icon indicating copy to clipboard operation
angularjs-dropdown-multiselect copied to clipboard

Pre-Selected value not working

Open Pendragon0988 opened this issue 7 years ago • 5 comments

Seems like I cannot establish the Pre-selected options even if I placed an object already on the reference model

Pendragon0988 avatar May 05 '17 17:05 Pendragon0988

I saw the same thing. I found a work-around if you set the extra-setting 'idProperty' it will then work. (using 2.0.0-beta.10)

davebednarski avatar Jun 14 '17 20:06 davebednarski

I saw the same thing. I found a work-around if you set the extra-setting 'idProperty' it will then work. (using 2.0.0-beta.10).

@davebednarski thanks your solution worked for me.

WaqarMobeen avatar Jun 23 '17 17:06 WaqarMobeen

Hey guys, Same issue with same version. Only the label "1 Checked" is correct. If setting idProperty: ""
It justs show all element selected. Whereas the model hold the good element selected. Any idea? I'll back out to version 1... this beta might not be ready for production. Cheers

maxblax avatar Jul 28 '17 15:07 maxblax

@maxblax it solved the issue for me when I used value "id" for idProperty.

azenchenko avatar Nov 23 '17 12:11 azenchenko

I had the same issue and solved by adding:

idProperty: 'id'

to the extra-settings.

This is a quite important issue, I think it should be mentioned in the documentation.

lackovic avatar Mar 22 '18 15:03 lackovic