Why doesn't model injection work for ActionGroup?

For instance, if I have a simple action like
Tables\Actions\Action::make('status_done')
  ->visible(fn (Order $record): bool => $record->some_value

then the record model is injected in the clojure.

The problem is that when I have an ActionGroup, the same thing doesn't work. I'm trying to limit queries by doing the visibility verification in an actiongroup instead of each individual action.

Is there something I'm missing here?
Was this page helpful?