using associative array for table/form schema array
is there any concern in using associative array for form/table schema, eg:
and then I will have some api to customize the schema fields, eg:
this may also extend to any methods in filament that return array such as
is this a pattern that Filament would advise against with?
and then I will have some api to customize the schema fields, eg:
this may also extend to any methods in filament that return array such as
getHeaderActions array etcis this a pattern that Filament would advise against with?
Solution
i cant imagine any immediate issues, but i cannot guarantee that the key will not be lost at some point in the form process and replaced with a nunber