F
Filament14mo ago
Abi

How to hide the section title

Is there a way to hide the section title?
8 Replies
awcodes
awcodes14mo ago
use a Card instead of a Section
Abi
Abi14mo ago
can I use statePath with Card? I use statePath to store all the data in an array.
awcodes
awcodes14mo ago
yes, a card is just another layout component like section
awcodes
awcodes14mo ago
Filament
Layout - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
Abi
Abi14mo ago
@awcodes Thank you. I have one other question regarding statePath. Can you please advice. If I have 2 Card components with statePath('foo'), will one overwrite the other or will they merge?
Dennis Koch
Dennis Koch14mo ago
Not sure what happens. I guess it could work. But why don't you just try it?
awcodes
awcodes14mo ago
Layout components don't actually have state themselves. Maybe do a dd() in the beforeSave or beforeCreate lifecycle to see what data you are getting back from the form. Then you can go from there.
Abi
Abi14mo ago
ok, I was using these components as a standalone form builder, but going to give it a try. will let you know what happens ok, tested it, and they merge. I am glad this works as expected. Thank you very much for the help..