hirumina
Redirect is not working properly
Being logged out, for some users if they try requesting ex. https://test.com/admin/products/1/edit?activeRelationManager=0, login, they end up on the dashboard. This is working fine for me and I'm trying to see what the issue is but couldn't find any lead.
Any kind of help would be highly appreciated.
2 replies
Redirect to last URL after login
if i logout from the a page and then login i will endup in the dashboard instead of that page. EX: logout from https://test.com/admin/products/1/edit?activeRelationManager=0 and then login, i end up on the dashboard. Before(in v2) it used to be directed back to the requested page(https://test.com/admin/products/1/edit?activeRelationManager=0) i went throught the upgrade guild and all but couldn't find anything.Any kind of help would be much appreciated
2 replies
Issue with FilamentSpatieTranslatable plugin LocaleSwitcher not saving record after v 3 upgrade
Hi everyone,
I'm encountering a problem with the LocaleSwitcher from the FilamentSpatieTranslatable plugin (https://filamentphp.com/plugins/filament-spatie-translatable) after upgrading from Filament 2 to Filament 3.
In Filament 2, the LocaleSwitcher would change the language and automatically save the current record.(By using the updateRecord function in the SpatieLaravelTranslatableContentDriver) However, after upgrading to Filament 3 and updating the FilamentSpatieTranslatable plugin, it only updates the language without saving the record.
I've tried to implement record saving using approaches I've seen mentioned for Filament 3 actions, such as:
- Using
reactive()
- Using onStateUpdated()
- Using afterStateUpdated()
However, none of these methods seem to be available on the LocaleSwitcher provided by the plugin.2 replies