Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for optionValuePath to relate to the model #5

Open
ChrisHonniball opened this issue Aug 11, 2015 · 1 comment
Open

Allow for optionValuePath to relate to the model #5

ChrisHonniball opened this issue Aug 11, 2015 · 1 comment
Assignees
Labels

Comments

@ChrisHonniball
Copy link
Owner

per @igorpreston's request.

@ChrisHonniball
Copy link
Owner Author

Original request:

@ChrisHonniball Thank you very much! Your advice helped me and now ember-chosen displays the list.

Can you please also suggest how should I get the tag record itself and not id in optionValuePath? Because I would need to pass tag record itself to the controller action to setup relationship between post and tag when persisting data to the api?

{{ember-chosen
    content=tags
    optionValuePath="id" <= get tag model record instead of tag id
}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant