FilamentF
Filament3y ago
xy

Display table action when using RelationManager on ViewRecord

I'm currently using a RelationManager which shows on the ViewRecord page.

Custom Action under headerActions shows however, the Tables\Actions\CreateAction action does not.

  ->headerActions([
      Tables\Actions\Action::make('addTest')
          ->label(__('Add Test'))
          ->form([
              Forms\Components\Textarea::make('content')
                  ->translateLabel()
                  ->required(),
          ]), // This shows
      Tables\Actions\CreateAction::make(), // This does not
  ])

Is there any way for that to show on this page?
Was this page helpful?