Actions not appearing in Relation Manager

I used the provided artisan command to create a relation manager for my users table, but none of the actions included in the boilerplate are appearing on the page. I can add a custom action and it will appear on the RM table - but none of the provided ones render.

public function table(Table $table): Table
    {
        return $table
            ->columns(...)
            ->filters(...)
            ->headerActions([
                Tables\Actions\CreateAction::make(),
            ])
            ->actions([
                Tables\Actions\EditAction::make(),
                Tables\Actions\DeleteAction::make(),
            ])
            ->bulkActions([
                Tables\Actions\BulkActionGroup::make([
                    Tables\Actions\DeleteBulkAction::make(),
                ]),
            ])
            ->emptyStateActions([
                Tables\Actions\CreateAction::make(),
            ])
            ->actionsPosition(Tables\Enums\ActionsPosition::BeforeCells)
            ->poll('120s')
            ->persistFiltersInSession()
            ->paginated([10])
            ->defaultSort('status_changed_at', 'desc');
    }
Screenshot_2023-08-17_131329.png
Solution
but you can change that by implementing isReadOnly() on the relation manager and just returning true
Was this page helpful?