F
Filamentβ€’15mo 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 Zeusβ€’15mo ago
cast 'details' to array in the model and the form input should look like" TextInput::make('details.client_key')
HiJoe
HiJoeOPβ€’15mo 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 Zeusβ€’15mo ago
AFAIK yes basically πŸ™‚
HiJoe
HiJoeOPβ€’15mo ago
Thanks!
Want results from more Discord servers?
Add your server