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'),
      ])
  ]);


When clicking on the action I get an Exception error:
Infolist has no [record()] or [state()] set.


Using form() to create a modal works fine
Was this page helpful?