F
Filament2y ago
Abi

How to hide the section title

Is there a way to hide the section title?
8 Replies
awcodes
awcodes2y ago
use a Card instead of a Section
Abi
AbiOP2y ago
can I use statePath with Card? I use statePath to store all the data in an array.
awcodes
awcodes2y ago
yes, a card is just another layout component like section
awcodes
awcodes2y ago
Filament
Layout - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
Abi
AbiOP2y 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 Koch2y ago
Not sure what happens. I guess it could work. But why don't you just try it?
awcodes
awcodes2y 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
AbiOP2y 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..
Want results from more Discord servers?
Add your server