generated from filamentphp/plugin-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
When setting the cardAction it does not evaluate the record so the action fails. (clicking the action from the action group works fine.
How to reproduce the bug
public function board(Board $board): Board
{
return $board
->query($this->getEloquentQuery())
->recordTitleAttribute('title')
->columnIdentifier('status')
->positionIdentifier('position') // Enable drag-and-drop with position field
->columns(fn() => $this->columns())
->cardSchema(fn (Schema $schema) => $this->cardInfoListSchema($schema))
->cardAction( 'view')
->cardActions([
ViewAction::make('view')
->model(Task::class)
->schema(fn (Schema $schema) => $this->taskInfoListSchema($schema))
->slideOver()
->modalWidth(Width::ThreeExtraLarge)
->icon('heroicon-o-eye'),
]);
}Package Version
3.0.2
PHP Version
8.4
Laravel Version
12
Which operating systems does with happen with?
macOS
Notes
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working