fix(kube/setup): add a11y labels [EE-6747] (#11307)

pull/11325/head
Chaim Lev-Ari 9 months ago committed by GitHub
parent 82516620e7
commit 31c5a82749
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -56,11 +56,13 @@ export function EnableMetricsInput({ value, error, environmentId }: Props) {
className="mb-0"
size="large"
errors={error}
inputId="kubeSetup-metricsToggle"
>
<Field
name="useServerMetrics"
as={Switch}
checked={value}
id="kubeSetup-metricsToggle"
onChange={(checked: boolean) => {
// if turning off, just set the value
if (!checked) {

Loading…
Cancel
Save