Skip to content

[Bug]: Iam no talbe to use addMenuItemFields select with relationship #41

@NifeCz

Description

@NifeCz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions