F
Filament17mo ago
HiJoe

Fieldset / Grid to array/json

Hi, Right now I'm working on a package that will allow multiple implementable providers. The provider will provide the "details" section (see screenshot). Everything within that details section should become JSON within the database and should be created as array. Is this possible?
No description
5 Replies
Lara Zeus
Lara Zeus17mo ago
cast 'details' to array in the model and the form input should look like" TextInput::make('details.client_key')
HiJoe
HiJoeOP17mo ago
Right, so the whole fieldset is here completly out of scope for the datapart. Only for grouping it in the UI? And to group the data I should dot notate it
Lara Zeus
Lara Zeus17mo ago
AFAIK yes basically 🙂
HiJoe
HiJoeOP17mo ago
Thanks!

Did you find this page helpful?