F
Filament5mo ago
eno7x

Builder content not showing in Infolist

Hello. When I create a form with Builder, the content of this form does not appear in the Infolist.
Builder::make('attachments')->columnSpanFull()->hiddenLabel()->blocks([
Builder\Block::make('paragraph')->schema([
Textarea::make('content')->label('Paragraph')->required(),
]),
Builder\Block::make('image')->schema([
FileUpload::make('url')->label('Image')->image()->required(),
]),
])

// Infolist
RepeatableEntry::make('attachments')->columnSpanFull()->schema([
TextEntry::make('paragraph'),
])
Builder::make('attachments')->columnSpanFull()->hiddenLabel()->blocks([
Builder\Block::make('paragraph')->schema([
Textarea::make('content')->label('Paragraph')->required(),
]),
Builder\Block::make('image')->schema([
FileUpload::make('url')->label('Image')->image()->required(),
]),
])

// Infolist
RepeatableEntry::make('attachments')->columnSpanFull()->schema([
TextEntry::make('paragraph'),
])
No description
1 Reply
Dennis Koch
Dennis Koch5mo ago
I don't think the RepeatableEntry is made for the builder, as that one also has the type information and different data depending on the block.

Did you find this page helpful?