FilamentF
Filament12mo ago
John

Spatie Translatable + #[Reactive] RelationManager + Lazy loading bug?

Translatable works fine, also with "Inheriting the relation manager's active locale from the resource page" per documentation: https://filamentphp.com/plugins/filament-spatie-translatable#inheriting-the-relation-managers-active-locale-from-the-resource-page

But when the relation manager is lazy loaded, and not loaded before switching locale, I get a Typed property Filament\Resources\RelationManagers\RelationManager::$table must not be accessed before initialization

I can disable lazy loading for now, but it would be nice if this can be solved or worked around.
Was this page helpful?