lundi 16 avril 2018

Ember trigger action on wrapper component

I have a wrapper component that has an action that needs to be triggered from within, but I can't get rid of this:

    
        <button 
    

the above is the template of "componentA"; when I click the button I get an error saying that componentA does not have an action handler for "wrapper.myAction"; I can't get why it looks for the action on componentA instead of wrapper-component first. of course "myAction" is defined in "actions" on "wrapper-component"; the wrapper component has this template:






Aucun commentaire:

Enregistrer un commentaire