F
Filament2mo ago
tomtom

Builder inside repeater stopped working since v4

I used Repeater to group blocks into sections in the blog part of my site. Here is the code that worked perfectly before upgrading to v4 :
Repeater::make('sections')
->schema([
Builder::make('blocks')
->label('Blocks')
->blocks([
Builder\Block::make('block')
->schema([
TextInput::make('title'),
Textarea::make('content'),
])
]),
]),
Repeater::make('sections')
->schema([
Builder::make('blocks')
->label('Blocks')
->blocks([
Builder\Block::make('block')
->schema([
TextInput::make('title'),
Textarea::make('content'),
])
]),
]),
Since v4, the repeater works but the blocks are not added anymore. If I remove the repeater, it works fine but it means I cannot group my blocks together. Any idea of some update I didn't make correctly or is that a bug?
1 Reply
awcodes
awcodes2mo ago
Sounds like a bug, please submit an issue on GitHub with a reproduction repo.

Did you find this page helpful?