Typed property Filament\Resources\RelationManagers\RelationManager::$ownerRecord must not be accessed before initialization
Typed property Filament\Resources\RelationManagers\RelationManager::$ownerRecord must not be accessed before initialization
Is there anyway to do this without defining it in the below function on the resource? The reason i don't want to have it in below function is that the Infolist has tabs lay-out and need the table in one of the tabs. I know i can make my own livewire component, but a relationmanager has all the functions that i need.
public static function getRelations(): array { return [ ]; }
public static function getRelations(): array { return [ ]; }
Thanks for you help.
Solution
Thanks for the reaction.
If anyone has the same question i found a solution by implementing the following plugin. With that plugin you can add the relation manager into a infolist / form.