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

How to get only 'id' in selected-model array

Open arahmanali opened this issue 8 years ago • 2 comments

i am using it for multiple values and i want to get only id rather getting the whole object. what i am getting: [{"id":"some_value"}, {"id":"some_other_value"}] what i want: ["some_value", "some_other_value"]

TIA

arahmanali avatar Aug 18 '17 06:08 arahmanali

Not sure that's supported (at least in V1). You'd probably have to create a new array with the IDs only.

olsiodobashi avatar Aug 18 '17 14:08 olsiodobashi

+1

realph avatar Aug 30 '17 10:08 realph