diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterBlockInitializer.tsx b/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterBlockInitializer.tsx index 48b2adbb3f..fdcf15b34b 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterBlockInitializer.tsx +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterBlockInitializer.tsx @@ -31,7 +31,7 @@ const createFilterSchema = () => { grid: { type: 'void', 'x-component': 'ChartFilterGrid', - 'x-initializer': 'fieldInitializers:chartFilterItem', + 'x-initializer': 'chartFilterForm:configureFields', properties: {}, }, actions: { diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterItemInitializers.tsx b/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterItemInitializers.tsx index b2fff83adb..6fa6c3fc8e 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterItemInitializers.tsx +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/client/filter/FilterItemInitializers.tsx @@ -279,7 +279,7 @@ export const chartFilterItemInitializers_deprecated = new CompatibleSchemaInitia export const chartFilterItemInitializers = new CompatibleSchemaInitializer( { - name: 'fieldInitializers:chartFilterItem', + name: 'chartFilterForm:configureFields', 'data-testid': 'configure-fields-button-of-chart-filter-item', wrap: gridRowColWrap, icon: 'SettingOutlined',