From 31c5a827490bfa517be9b30080f044b1e191f9cb Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Wed, 6 Mar 2024 14:57:00 +0200 Subject: [PATCH] fix(kube/setup): add a11y labels [EE-6747] (#11307) --- .../cluster/ConfigureView/ConfigureForm/EnableMetricsInput.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/react/kubernetes/cluster/ConfigureView/ConfigureForm/EnableMetricsInput.tsx b/app/react/kubernetes/cluster/ConfigureView/ConfigureForm/EnableMetricsInput.tsx index 18705e885..1c470a58e 100644 --- a/app/react/kubernetes/cluster/ConfigureView/ConfigureForm/EnableMetricsInput.tsx +++ b/app/react/kubernetes/cluster/ConfigureView/ConfigureForm/EnableMetricsInput.tsx @@ -56,11 +56,13 @@ export function EnableMetricsInput({ value, error, environmentId }: Props) { className="mb-0" size="large" errors={error} + inputId="kubeSetup-metricsToggle" > { // if turning off, just set the value if (!checked) {