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

Pro Version: andForget isn't working #477

Open
jamesautodude opened this issue Oct 23, 2024 · 1 comment
Open

Pro Version: andForget isn't working #477

jamesautodude opened this issue Oct 23, 2024 · 1 comment

Comments

@jamesautodude
Copy link

jamesautodude commented Oct 23, 2024

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?

@jamesautodude
Copy link
Author

For now I did:

$this->close(
      withForce: true,
      andDispatch: [
          'refreshCalendar',
      ],
  );

and that's working, but I wanted to use the andForget :/

Let me know :)

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