(cherry picked from commit 8ef3b44932d2b984f44d3569cc86b47242a08245)
---
.../controls/select_severity/select_severity.tsx | 9 ++++++---
.../components/multi_super_select/multi_super_select.tsx | 4 +++-
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx
index 3f03b46bf5c5e..f8c89e72e7db7 100644
--- a/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx
+++ b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx
@@ -237,12 +237,15 @@ export const SelectSeverityUI: FC<
[onChange, allSeverityOptions]
);
+ const anomalyScoreLabel = i18n.translate('xpack.ml.explorer.severityThresholdLabel', {
+ defaultMessage: 'Anomaly score',
+ });
+
return (
{
inputDisplay: React.JSX.Element | string;
options: Array>;
onOptionsChange?: (options: Array>) => void;
+ 'aria-label'?: string;
}
export const MultiSuperSelect = ({
@@ -22,6 +23,7 @@ export const MultiSuperSelect = ({
inputDisplay,
options,
onOptionsChange,
+ 'aria-label': ariaLabel,
}: MultiSuperSelect) => {
const [isPopoverOpen, setIsPopoverOpen] = useState(false);
@@ -33,7 +35,7 @@ export const MultiSuperSelect = ({
const popoverButton = (
-
+
{inputDisplay}