You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a redirect is triggered from within a livewire component, the flasher output is never displayed as the request that would have triggered it originated within a livewire component, and the does not appear to be any mechanism available to delay the display until a future request in that case.
Whereas it is otherwise possible to define hops or delay stamps this does not appear to be possible from within a livewire component.
As a redirect causes a page reload, and as best I can tell presently display of flasher messages that originate within a livewire component occur as events rather than being added to the message bag in the session, the is presently no way to display a message after redirect.
To Reproduce
Steps to reproduce the behavior:
Add a flasher message within a livewire component, and then redirect to a different page, observe no message displayed
Add a flasher message within a livewire component and do NOT redirect, and observe message IS displayed
Expected behavior
I expect the notification to display after redirect, even if that requires me adding an extra flag when defining the message, so that for example when saving an entity and then redirecting to a list view - the save message is properly displayed.
Desktop (please complete the following information):
OS: macOS
Browser Firefox
Version 100
The text was updated successfully, but these errors were encountered:
Describe the bug
If a redirect is triggered from within a livewire component, the flasher output is never displayed as the request that would have triggered it originated within a livewire component, and the does not appear to be any mechanism available to delay the display until a future request in that case.
Whereas it is otherwise possible to define hops or delay stamps this does not appear to be possible from within a livewire component.
As a redirect causes a page reload, and as best I can tell presently display of flasher messages that originate within a livewire component occur as events rather than being added to the message bag in the session, the is presently no way to display a message after redirect.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the notification to display after redirect, even if that requires me adding an extra flag when defining the message, so that for example when saving an entity and then redirecting to a list view - the save message is properly displayed.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: