How to fill a header action modal form?

protected function getTableHeaderActions(): array
{
return [
Action::make('configure')
->form([
Toggle::make('isEnabled'),
TextColumn::make('name')
...
protected function getTableHeaderActions(): array
{
return [
Action::make('configure')
->form([
Toggle::make('isEnabled'),
TextColumn::make('name')
...
i want to fill the fields based on a db query ive seen how to fill a filament form, but idk how to do it being inside a table builder
2 Replies
Dennis Koch
Dennis Koch2y ago
You can use ->mountUsing() action on the form.
ericmp #2
ericmp #2OP2y ago
🙏 thanks

Did you find this page helpful?