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

Returns array in single selection

Open Wahaj26 opened this issue 6 years ago • 2 comments

Hi, can't we just bind it to single value instead of array when singleSelection is true ? may be it makes more sense.

Wahaj26 avatar Oct 12 '19 15:10 Wahaj26

@CuppaLabs I already fixed it in local & it's working fine , would like to create PR if you say.

Wahaj26 avatar Oct 12 '19 15:10 Wahaj26

This would be super useful, I have to manage a dynamic number of dropdowns, all of them in single selection mode. Each of them returning an array instead of a single value makes it really troublesome in this scenario. I'm using an Array<Array<T>> type of structure to model this, but what it really should be is just Array<T>.

kjanos0502 avatar Jul 29 '21 11:07 kjanos0502