ember.js - Ember sendAction from mixin to component without observer. also the mixin import within the component -
imagine that,
a div-component had button tag , child-component named input-component ( input tag ), input-component contains action validation. mixin import inside child component. when trigger action mixin, calls child-component ( input-comp ) action getting input value.
never try call action on child component. not possible! if try doing wrong!
you should update data outside , give down data. data down actions up.
Comments
Post a Comment