From b496a5389daf0b9d1b304337514c9a2a7e38ff98 Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Thu, 27 Dec 2018 16:01:51 +0100 Subject: [PATCH] Use value instead of checked in SwitchField Feature #13708 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- src/components/switch-field/switch-field.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/switch-field/switch-field.tsx b/src/components/switch-field/switch-field.tsx index 4541e371a5..ac7b140e1a 100644 --- a/src/components/switch-field/switch-field.tsx +++ b/src/components/switch-field/switch-field.tsx @@ -9,6 +9,6 @@ import { SwitchProps } from '@material-ui/core/Switch'; export const SwitchField = ({ switchProps, ...props }: FormFieldProps & { switchProps: SwitchProps }) => - {input => } + {input => } ; -- 2.30.2