knownasilya/ember-toggle

Labels still trigger click action event even when disabled

ntgussoni opened this issue · 1 comments

I've been testing this component and it's really nice.
However on disabled state, the labels still trigger the action.

I think it's an easy fix. Just checking if disabled=true inside sendToggle method
(https://github.com/knownasilya/ember-toggle/blob/master/addon/components/x-toggle/component.js)

What do you think?
#111

Closed by #111 and released in v5.2.2