angular2-multiselect-dropdown
angular2-multiselect-dropdown copied to clipboard
Returns array in single selection
Hi, can't we just bind it to single value instead of array when singleSelection is true ? may be it makes more sense.
@CuppaLabs I already fixed it in local & it's working fine , would like to create PR if you say.
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>.