fix(charts): Table chart shows an error on row limit (#37218)

This commit is contained in:
Felipe López
2026-01-30 16:45:50 -03:00
committed by GitHub
parent 570cc3e5f8
commit 9764a84402
18 changed files with 105 additions and 26 deletions

View File

@@ -17,7 +17,11 @@
* under the License.
*/
import { t } from '@apache-superset/core';
import { validateInteger, validateNonEmpty } from '@superset-ui/core';
import {
validateInteger,
validateNonEmpty,
withLabel,
} from '@superset-ui/core';
import { GenericDataType } from '@apache-superset/core/api/core';
import {
ControlPanelConfig,
@@ -66,7 +70,7 @@ const config: ControlPanelConfig = {
default: 5,
choices: formatSelectOptionsForRange(5, 20, 5),
description: t('The number of bins for the histogram'),
validators: [validateInteger],
validators: [withLabel(validateInteger, t('Bins'))],
},
},
],