Skip to content

Commit 928bda1

Browse files
committed
bugfix: cannot save filter_records for export
1 parent 0df571f commit 928bda1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Filament/Clusters/Settings/Resources/ExportResource.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,16 @@ public static function form(Form $form): Form
164164
Forms\Components\Select::make('exporter')
165165
->options($exporters)
166166
->required()
167-
->live(),
167+
->live()
168+
->afterStateUpdated(fn (Forms\Components\Select $component) => $component
169+
->getContainer()
170+
->getComponent('dynamicTypeFields')
171+
->getChildComponentContainer()
172+
->fill()),
168173

169174
Forms\Components\Group::make()
170175
->statePath('payload.args')
176+
->key('dynamicTypeFields')
171177
->dehydrated(true)
172178
->schema(function (Forms\Get $get) {
173179

0 commit comments

Comments
 (0)