Skip to content

Feature request : returns value instead of object and callback #4

@alexisbg

Description

@alexisbg

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions