tedconf / ember-searchable-select

Data-down, actions up select-like menu with searching and tagging capabilities.
http://tedconf.github.io/ember-searchable-select/
MIT License
37 stars 15 forks source link

Accessing property on onchange value #51

Closed aamir-pk closed 7 years ago

aamir-pk commented 7 years ago

Hi,

I am trying to get the id of selected element but unable to do it so far. I tried multiple options but nothing worked. Is there any bug or I am missing something. This is the code:

      {{ted-select  content=operators
                    onchange=(action (mut condition.operator) (get value key) )
                    optionValueKey="key"
                    optionLabelKey="name"
                    selectClassNames="form-control"
                    selectId="listOp"
                    prompt=null
      }}
brenna commented 7 years ago

Hi @aamir-pk,

It looks like you're using ember-ted-select(https://github.com/tedconf/ember-ted-select), in your snippet, not this addon (ember-searchable-select). If it's an issue with ember-ted-select, please file in that repo.

aamir-pk commented 7 years ago

Very sorry I posted it in hurry. Really embarrassing for me.

brenna commented 7 years ago

Moved to https://github.com/tedconf/ember-ted-select/issues/34

brenna commented 7 years ago

@romulomachado i don't have permission to close this issue, can you?