Skip to content

Instantly share code, notes, and snippets.

@denzo
Created November 26, 2017 02:30
Show Gist options
  • Save denzo/ea1d2a6f460d05ae667e44bdf6ab6653 to your computer and use it in GitHub Desktop.
Save denzo/ea1d2a6f460d05ae667e44bdf6ab6653 to your computer and use it in GitHub Desktop.
// app/components/action-details/template.hbs
<h5>Change action status</h5>
{{#sc-select
options=STATUSES
selected=model.status
onChange=(action "setStatus") as |status|}}
{{status.label}}
{{/sc-select}}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment