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
when you add select with relationship, like eg. linkable_id, there is error Call to a member function isRelation() on null <x-filament-actions::modals />###
How to reproduce the bug
just add in to your AdminPanelProvider plugin
->addMenuItemFields([
Select::make('linkable_id')
->label('Článek')
->relationship('linkable', fn($record) => $record->title)
->preload(),
])
Package Version
0.5.4
PHP Version
.3
Laravel Version
11.9
Which operating systems does with happen with?
Windows
Notes
No response
The text was updated successfully, but these errors were encountered:
Because you're trying to use a standard Select component with a MorphTo relationship. When dealing with polymorphic relationships in Filament, you need to use the specialized MorphToSelect component instead.
What happened?
when you add select with relationship, like eg. linkable_id, there is error Call to a member function isRelation() on null <x-filament-actions::modals />###
How to reproduce the bug
just add in to your AdminPanelProvider plugin
->addMenuItemFields([
Select::make('linkable_id')
->label('Článek')
->relationship('linkable', fn($record) => $record->title)
->preload(),
])
Package Version
0.5.4
PHP Version
.3
Laravel Version
11.9
Which operating systems does with happen with?
Windows
Notes
No response
The text was updated successfully, but these errors were encountered: