angularjs-dropdown-multiselect
angularjs-dropdown-multiselect copied to clipboard
How to get only 'id' in selected-model array
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
Not sure that's supported (at least in V1). You'd probably have to create a new array with the IDs only.
+1