Open gangi-web opened 2 years ago
we can simulate a click on the close button
I did so:
document.getElementById('close-modal').click();
we can simulate a click on the close button
I did so:
document.getElementById('close-modal').click();
I'm facing the same problem, there would be no way for us to implement a correction, to use $this->emit('closeModal');
and close everything.
Really like your livewire-modal!
How to close modal after form submit from livewire component?
Tried this, but the modal-header (title) is still there.
$this->emit('closeModal');