From: Michal Klobukowski Date: Thu, 27 Dec 2018 15:01:51 +0000 (+0100) Subject: Use value instead of checked in SwitchField X-Git-Tag: 1.4.0~76^2~2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/b496a5389daf0b9d1b304337514c9a2a7e38ff98?hp=5e7459e2089b92e25611d1835bf3a620ba655c60 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 4541e371..ac7b140e 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 => } ;