angular-dropdowns icon indicating copy to clipboard operation
angular-dropdowns copied to clipboard

Feature request : returns value instead of object and callback

Open alexisbg opened this issue 12 years ago • 2 comments

Hi,

Great job! This directive is very useful.

I think 2 additional features would improve it.

  • Copy/pass only one of the property value of selected object instead of the full object. This can be done by adding a new attribute with the property name (ie dropdown-value="{{'prop_name'}}").
  • Call a parent scope function when an item is selected (ie dropdown-onselect="myfunc()").

Maybe I can contribute to the project if you wish ?

Thanks, Alexis

alexisbg avatar Dec 06 '13 10:12 alexisbg

I'm definitely open to pull requests!

jseppi avatar Dec 06 '13 17:12 jseppi

Hi,

Any update for this feature ???

21110027781 avatar Sep 25 '17 04:09 21110027781