feat: apply standardized form data to tier 2 charts (#20530)

This commit is contained in:
Yongjie Zhao
2022-06-29 16:27:31 +08:00
committed by GitHub
parent 927d066f70
commit de524bc59f
11 changed files with 94 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ import {
formatSelectOptions,
sections,
dndEntity,
getStandardizedControls,
} from '@superset-ui/chart-controls';
const allColumns = {
@@ -328,6 +329,10 @@ const config: ControlPanelConfig = {
),
},
},
formDataOverrides: formData => ({
...formData,
groupby: getStandardizedControls().popAllColumns(),
}),
};
export default config;