From 96fccf29bb6a182941e4e5037763bcc833719509 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Wed, 17 Feb 2021 16:17:16 +0200 Subject: Add blur handler to Radio and Range --- src/components/InputTypes/Radio.tsx | 5 +++-- src/components/InputTypes/Range.tsx | 5 +++-- src/components/InputTypes/index.tsx | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/InputTypes/Radio.tsx b/src/components/InputTypes/Radio.tsx index 3bf13ed..a857964 100644 --- a/src/components/InputTypes/Radio.tsx +++ b/src/components/InputTypes/Radio.tsx @@ -7,7 +7,8 @@ import { multiSelectInput, hiddenInput } from "../../commonStyles"; interface RadioProps { option: string, question_id: string, - handler: (event: ChangeEvent) => void + handler: (event: ChangeEvent) => void, + onBlurHandler: () => void } const styles = css` @@ -31,7 +32,7 @@ const styles = css` export default function Radio(props: RadioProps): JSX.Element { return (