© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•7mo ago•
3 replies
roennow

Builder inside Custom Block Modal

Is this possible or will it be at some point? An example could be a A Hero Block where you would like to add multiple hero elements as a Slider/Carousel. I tried it like this:

public static function configureEditorAction(Action $action): Action
    {
        return $action
            ->modalDescription('Configure the hero section')
            ->schema([
                Builder::make('hero')
                    ->blocks([
                        Builder\Block::make('hero')
                            ->schema([
                                TextInput::make('title')
                                    ->live(onBlur: true)
                                    ->required()
                                    ->label('Title'),
                                TextInput::make('description')
                                    ->nullable()
                                    ->label('Description'),
                                TextInput::make('image')
                                    ->nullable()
                                    ->label('Image URL'),
                            ])
                            ->label('Hero Section'),
                    ]),
            ]);
    }
public static function configureEditorAction(Action $action): Action
    {
        return $action
            ->modalDescription('Configure the hero section')
            ->schema([
                Builder::make('hero')
                    ->blocks([
                        Builder\Block::make('hero')
                            ->schema([
                                TextInput::make('title')
                                    ->live(onBlur: true)
                                    ->required()
                                    ->label('Title'),
                                TextInput::make('description')
                                    ->nullable()
                                    ->label('Description'),
                                TextInput::make('image')
                                    ->nullable()
                                    ->label('Image URL'),
                            ])
                            ->label('Hero Section'),
                    ]),
            ]);
    }
Solution
There’s currently a bug with actions inside of modals. https://github.com/filamentphp/filament/issues/16549
GitHub
v4: actions in modal actions with livewire component not working ·...
Package filament/filament Package Version v4.0.0-beta5 Laravel Version v12.18.0 Livewire Version v3.6.3 PHP Version PHP8.2+ Breaking change description Filament actions have a modalContent option w...
v4: actions in modal actions with livewire component not working ·...
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Form builder custom block picker
FilamentFFilament / ❓┊help
9mo ago
Custom modal inside repeater
FilamentFFilament / ❓┊help
2y ago
Call custom modal inside getTableActions
FilamentFFilament / ❓┊help
3y ago
Big Builder Block - Page Builder
FilamentFFilament / ❓┊help
6mo ago