diff --git a/src/ui/components/DashKit/plugins/GroupControl/Control/Control.tsx b/src/ui/components/DashKit/plugins/GroupControl/Control/Control.tsx index e71550d99e..fc61aad0c5 100644 --- a/src/ui/components/DashKit/plugins/GroupControl/Control/Control.tsx +++ b/src/ui/components/DashKit/plugins/GroupControl/Control/Control.tsx @@ -441,6 +441,7 @@ export const Control = ({ hasValidationError: Boolean(currentValidationError), style, renderOverlay, + hint: controlData.source.showHint ? controlData.source.hint : undefined, ...getTypeProps(control, controlData, currentValidationError), }; diff --git a/src/ui/libs/DatalensChartkit/components/Control/Items/withWrapForControls.js b/src/ui/libs/DatalensChartkit/components/Control/Items/withWrapForControls.js index cb582cfe15..88030beb17 100644 --- a/src/ui/libs/DatalensChartkit/components/Control/Items/withWrapForControls.js +++ b/src/ui/libs/DatalensChartkit/components/Control/Items/withWrapForControls.js @@ -58,6 +58,7 @@ function withWrapForControls(WrappedComponent) { )} + {hint && !showLabel && } ); } diff --git a/src/ui/units/dash/store/reducers/dash.js b/src/ui/units/dash/store/reducers/dash.js index 92d43746f4..5cb29b35f0 100644 --- a/src/ui/units/dash/store/reducers/dash.js +++ b/src/ui/units/dash/store/reducers/dash.js @@ -166,6 +166,8 @@ export function getSelectorGroupDialogFromData(data) { placementMode: item.placementMode || CONTROLS_PLACEMENT_MODE.AUTO, width: item.width || '', namespace: item.namespace, + showHint: item.source.showHint, + hint: item.source.hint, })) .sort((a, b) => a.index - b.index);