I change title in edit modal

(sorry for my bad english) I workin in this class use Filament\Resources\RelationManagers\RelationManager; class EmitterEntitiesRelationManager extends RelationManager { ... public static function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('entity.name') ->getStateUsing(function ($record) { return $record->entity->name; })->label('Entidad principal'), ]) ->filters([ // ]) ->headerActions([]) ->actions([ Tables\Actions\EditAction::make() /HERE... i change the title in edit action (i change Edit 1 for custom title)/ ->mutateRecordDataUsing(function (array $data): array { $data['api_password'] = Crypt::decryptString($data['api_password']); $data['signer_password'] = Crypt::decryptString($data['signer_password']); return $data; }), Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } I try Tables\Actions\EditAction::make()->title('CUSTOM title!') // But, title method dont exists and try Tables\Actions\EditAction::make() ->before(function (Tables\Actions\EditAction $action, RelationManager $livewire) { Notification::make() ->title('CUSTOM title!'); }); // But this dont change anything thank you for you help
No description
Solution:
->modalHeading('my title') on the action
Jump to solution
2 Replies
Solution
dissto
dissto7mo ago
->modalHeading('my title') on the action
Fhacker
Fhacker7mo ago
Thanks for your answer, i pinned your message by answer but i dont know if it is possible to mark thread of "Solved" (like stackoverflow)