PreviousUrl Overwritten when Using Multiple Tabs
What I am trying to do: Prevent refreshed browser tabs from inheriting other browser tabs' "previous URL"
Our application overrides
We've discovered that if a user has multiple tabs open, one of which is on an Edit page, and they navigate around in another tab and then refresh the Edit page tab, the Edit page tab's "previous URL" gets replaced by the other tab's navigation. Does anybody know how to work around this so that each tab keeps it's own "previous URL" regardless of what's happening in other tabs? Thanks!
Filament\Resources\Pages\EditRecord::getRedirectUrl()
to redirect to $this->previousUrl
after saving, just like in the example in the docs: Customizing redirects.We've discovered that if a user has multiple tabs open, one of which is on an Edit page, and they navigate around in another tab and then refresh the Edit page tab, the Edit page tab's "previous URL" gets replaced by the other tab's navigation. Does anybody know how to work around this so that each tab keeps it's own "previous URL" regardless of what's happening in other tabs? Thanks!
0 Replies