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

pull/11324/head
Chaim Lev-Ari 9 months ago committed by GitHub
parent 6bbf62fe64
commit d6545b6af5
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