modal icon indicating copy to clipboard operation
modal copied to clipboard

Pro Version: andForget isn't working

Open EriksonEnterprises opened this issue 1 year ago • 1 comments

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?

EriksonEnterprises avatar Oct 23 '24 05:10 EriksonEnterprises

For now I did:

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

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

Let me know :)

EriksonEnterprises avatar Oct 23 '24 05:10 EriksonEnterprises

AndForget should work. Feel free to provide a demo repository that has the problem so I can investigate :)

PhiloNL avatar Dec 20 '24 13:12 PhiloNL