Skip to content

Commit

Permalink
fix: add ...attributes to label
Browse files Browse the repository at this point in the history
Resolves #129
  • Loading branch information
knownasilya committed Jan 17, 2020
1 parent e10fc34 commit 9fd9024
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/components/x-toggle-label/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
for={{this.for}}
class='toggle-text toggle-prefix {{this.labelType}}'
onclick={{action 'clickLabel'}}
...attributes
>
{{#if hasBlock}}
{{yield this.label}}
{{else}}
{{this.label}}
{{/if}}
</label>
{{/if}}
{{/if}}

0 comments on commit 9fd9024

Please sign in to comment.