From: Michal Klobukowski Date: Thu, 27 Dec 2018 15:01:51 +0000 (+0100) Subject: Use value instead of checked in SwitchField X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/b496a5389daf0b9d1b304337514c9a2a7e38ff98 Use value instead of checked in SwitchField Feature #13708 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- 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 => } ;