simcha90 commented on a change in pull request #13569:
URL: https://github.com/apache/superset/pull/13569#discussion_r592164676
##########
File path:
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/ControlItems.tsx
##########
@@ -59,7 +59,10 @@ const ControlItems: FC<ControlItemsProps> = ({
<StyledCheckboxFormItem
key={controlItem.name}
name={['filters', filterId, 'controlValues', controlItem.name]}
- initialValue={filterToEdit?.controlValues?.[controlItem.name]}
+ initialValue={
+ filterToEdit?.controlValues?.[controlItem.name] ||
+ controlItem?.config?.default
Review comment:
why use here default? let's put it as default value in control panel...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]