I'm trying to use one of Ember's checkbox input helpers which is placed inside a div with an action assigned to it. The problem I'm having is that now clicking the checkbox doesn't work correctly and instead the container's action helper is called. I created a fiddle to show this in action. Does anyone know how I can prevent this? I'd like for clicking the checkbox to update its bound value, while clicking inside the checkbox container to trigger the associated action. With general purpose actions you can set bubbles=false
but this doesn't seem to work with input helpers. Thanks!
samedi 4 juillet 2015
Ember checkbox input helper
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire