Getting an error when using infolist() on Infolist\Action

Is this a bug or am I doing something wrong? I have a view page with an infolist and a section that has a Action like so:
Section::make()
->schema([
Action::make('user')
->infolist([
TextEntry::make('email'),
])
]);
Section::make()
->schema([
Action::make('user')
->infolist([
TextEntry::make('email'),
])
]);
When clicking on the action I get an Exception error:
Infolist has no [record()] or [state()] set.
Infolist has no [record()] or [state()] set.
Using form() to create a modal works fine
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?