ember-modals
ember-modals copied to clipboard
no action handler for: closeModal
Hi, I've just started with this ember addon, but I still can't solve my problem. Component can't find closeModal action. And close button from option "showCloseButton" works.
welcome-dialog.hbs:
<h2>Welcome!</h2>
<button {{action 'closeModal'}}>Close</button>
welcome-dialog.js:
import Ember from 'ember';
export default Ember.Component.extend({
});
route template:
<button {{action 'showModal' 'welcome-dialog' this target=modals}}>
Show welcome with context
</button>
application.hbs
{{outlet}}
{{ember-modals}}
Error: Uncaught Error: <test-app@component:welcome-dialog::ember716> had no action handler for: closeModal
Same here
Thanks for the report. Will look into this to see if I can replicate. I don't suppose you're able to share some failing code?
Sorry, I'll clarify - 'code' meaning an Ember app I can run ember s
on and see the error.
Same issue here, did people find a workaround or just find a different library?
I'll try and get some code up in the coming days.