Builder: block open by default?

Hello,

I'm using a simple Builder in my filament admin app.
My builder contains 2 blocks : Paragraph or Image, each having multiple inputs.

I would like, on creation, to have a block image already opened.
Is is possible? I don't find how in the doc

Thx 🙂
Solution
Try
->default([
    [ ‘type’ => ‘image’, ‘content’ => []],
])

Content might be ‘data’ though. Trying to go from memory. And this will only work in the create context.
Was this page helpful?