Skip to content

Commit

Permalink
Add extra params for trigger (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdenquin authored and cibernox committed Feb 8, 2018
1 parent 3f93d0b commit 33e99dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions addon/templates/components/power-select.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
ariaLabelledBy=(readonly ariaLabelledBy)
ariaRequired=(readonly required)
class=(readonly concatenatedTriggerClasses)
extra=(readonly extra)
id=(readonly triggerId)
eventType="mousedown"
onKeyDown=(action "onTriggerKeydown")
Expand Down
2 changes: 1 addition & 1 deletion addon/templates/components/power-select/trigger.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if select.selected}}
{{#if selectedItemComponent}}
{{component selectedItemComponent option=(readonly select.selected) select=(readonly select)}}
{{component selectedItemComponent extra=(readonly extra) option=(readonly select.selected) select=(readonly select)}}
{{else}}
<span class="ember-power-select-selected-item">{{yield select.selected select}}</span>
{{/if}}
Expand Down

0 comments on commit 33e99dc

Please sign in to comment.