F
Filamentβ€’6mo ago
KarlisJ

Display builders blocks in grid

Is it possible to display the builder block in columns? Repeater seems to have a grid method for that.
12 Replies
toeknee
toekneeβ€’6mo ago
Yes, you can use grid within the builder below too and repeat multiple builder blocks
lost a fight with a steamroller
Do you know how you'd go about this? I can't see anything in neither the docs nor the source?
toeknee
toekneeβ€’4mo ago
Use the Grid Field, then in its schema include the fields
lost a fight with a steamroller
Wow thanks for the speedy reply, however I don't think I'm understanding you correctly - I think I'm missing something really obvious and would appreciate a pointer πŸ˜„
No description
No description
toeknee
toekneeβ€’4mo ago
Put the grid in the block schema if you are wanting to grid those fields?
lost a fight with a steamroller
Ah, yeah I see - I want to grid like this - (Repeater docs)
No description
toeknee
toekneeβ€’4mo ago
Yep! So put it in the schema off the block You can use columns() on grid too
lost a fight with a steamroller
Oh I see! This is just splitting the block though?
awcodes
awcodesβ€’4mo ago
Builder doesn't support grid() like repeater. Sorry.
lost a fight with a steamroller
Ah I see, thanks for the heads up πŸ™‚ Are there any plans for this to change?
awcodes
awcodesβ€’4mo ago
I do not know.