fix: set `Rich tooltip` -> 'Show percentage' to false by default (#32212)
This commit is contained in:
parent
650fa5ccfb
commit
d3b854a833
|
|
@ -230,7 +230,7 @@ const tooltipPercentageControl: ControlSetItem = {
|
||||||
type: 'CheckboxControl',
|
type: 'CheckboxControl',
|
||||||
label: t('Show percentage'),
|
label: t('Show percentage'),
|
||||||
renderTrigger: true,
|
renderTrigger: true,
|
||||||
default: true,
|
default: false,
|
||||||
description: t('Whether to display the percentage value in the tooltip'),
|
description: t('Whether to display the percentage value in the tooltip'),
|
||||||
visibility: ({ controls, form_data }: ControlPanelsContainerProps) =>
|
visibility: ({ controls, form_data }: ControlPanelsContainerProps) =>
|
||||||
Boolean(controls?.rich_tooltip?.value) &&
|
Boolean(controls?.rich_tooltip?.value) &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue