© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•8mo ago•
5 replies
Darpan

Disable "Create & create another" checkbox in createOptionForm modal (Filament 4.x)

I am using Filament latest 4.x beta and trying to disable the "Create & create another" checkbox in a createOptionForm() modal.

Select::make('categories')
    ->relationship('categories', 'name')
    ->multiple()
    ->preload()
    ->createOptionForm([
        TextInput::make('name')->required(),
    ])
    ->createOptionAction(fn ($action) =>
        $action->modalWidth('md')
        //->createAnother(false) // Not available
    );
Select::make('categories')
    ->relationship('categories', 'name')
    ->multiple()
    ->preload()
    ->createOptionForm([
        TextInput::make('name')->required(),
    ])
    ->createOptionAction(fn ($action) =>
        $action->modalWidth('md')
        //->createAnother(false) // Not available
    );


Trying to use createAnother(false) throws an error — $action is not a CreateAction.

Is there any way to disable that?
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

How can to disable 'create & create another' button on createOptionForm
FilamentFFilament / ❓┊help
2y ago
Disable "create another" on form (non modal)
FilamentFFilament / ❓┊help
3y ago
Conditional createOptionForm in Filament
FilamentFFilament / ❓┊help
10mo ago