F
Filamentβ€’2y ago
ericmp #2

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 Kochβ€’2y ago
You can use ->mountUsing() action on the form.
ericmp #2
ericmp #2OPβ€’2y ago
πŸ™ thanks
Want results from more Discord servers?
Add your server