From bc9d7b91aa5992d2634dc9c4c88b8d9ec9e383e5 Mon Sep 17 00:00:00 2001
From: ks129 <45097959+ks129@users.noreply.github.com>
Date: Thu, 18 Feb 2021 08:45:30 +0200
Subject: Mark range and radio valid after change

---
 src/components/Question.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/components/Question.tsx')

diff --git a/src/components/Question.tsx b/src/components/Question.tsx
index 9a15a07..0af745e 100644
--- a/src/components/Question.tsx
+++ b/src/components/Question.tsx
@@ -116,6 +116,11 @@ class RenderedQuestion extends React.Component<QuestionProp> {
                     }
                 }
                 break;
+
+            case "radio":
+                this.setPublicState("valid", true);
+                this.setPublicState("error", "");
+                break;
         }
     }
 
-- 
cgit v1.2.3

