Fill all fields in Group::make([....]) by an array

Hi, is there a way to fill all fields in group: Group::make([ RichEditor::make('title'), RichEditor::make('description') ]) with with a data from an array: $data = ['title'=>'ABC', 'description'=>'XYZ']; ?? I've tried to use afterStateHydrated and formatStateUsing on Group but all data in form, even outside of Group are then overwritten by this array. Thanks
1 Reply
Filament
Filament14mo ago
Please ask about the actual problem you're trying to solve, instead of your attempted solution. https://xyproblem.info
Want results from more Discord servers?
Add your server