Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatch modal.open from inside the callback function using the Confirmation Modal #483

Open
JamieGraizevsky opened this issue Nov 20, 2024 · 0 comments

Comments

@JamieGraizevsky
Copy link

I have a modal component and this works as expected everywhere, when i run the below code inside the callback from the confirmation modal the modal seems to open, as the backdrop shows but the content of the component never gets rendered. I have tried this with a number of modals and all do the same.

I tried to dispatch a custom event and open the modal inside that but still get the same, backdrop no content?

$this->dispatch('modal.open', component: 'modals.adn-declaration', arguments: []);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant