© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
9 replies
Alexandre

Change the default "save and create another" label in modal form

Hello all 👋,
I have a resource (MarketingMessage) for which I removed the default pages
CreateMarketingMessage.php
CreateMarketingMessage.php
and
EditMarketingMessage.php
EditMarketingMessage.php
to have Modals instead.

So, in my resource's
getPages()
getPages()
method, I have just one value in the return array:

public static function getPages(): array
    {
        return [
            index' => Pages\ListMarketingMessages::route('/'),
        ];
    }
public static function getPages(): array
    {
        return [
            index' => Pages\ListMarketingMessages::route('/'),
        ];
    }


Everything works fine, but I wanted to know which method I should use (and where) to change the default label of “Create & add another”. Because in French, I have to change the translation to use a feminine form.

I saw that there was a
getCreateAnotherFormAction()
getCreateAnotherFormAction()
method to use in CreateMarketingMessage.php, but since I don't use that page, it's no good.

Can anyone help me? I couldn't find a reference in the documentation.
Thanks in advance 😇
Solution
Screenshot_from_2024-06-10_16-06-06.png
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Change label of the save button in edit form
FilamentFFilament / ❓┊help
2y ago
Changing default Save button and Create Another labels?
FilamentFFilament / ❓┊help
3y ago
Launch the Save & Create Another action as default
FilamentFFilament / ❓┊help
11mo ago
Change the 'Create' label in the resource create page
FilamentFFilament / ❓┊help
2y ago