modal
modal copied to clipboard
Pro Version: andForget isn't working
Trying to do:
$this->close(
andForget: [
ShowEvent::class,
],
andDispatch: [
'refreshCalendar',
],
);
The child modal closes and the dispatch works, but the parent modal (ShowEvent) doesn't close. Am I doing something wrong?
For now I did:
$this->close(
withForce: true,
andDispatch: [
'refreshCalendar',
],
);
and that's working, but I wanted to use the andForget :/
Let me know :)
AndForget should work. Feel free to provide a demo repository that has the problem so I can investigate :)