From 2f24f22eac95056fe274c6086c422db2fdb069cf Mon Sep 17 00:00:00 2001
From: Joe Banks <joe@jb3.dev>
Date: Wed, 3 Jul 2024 17:04:21 +0100
Subject: Add new field for capturing timezones

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

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

diff --git a/src/components/Question.tsx b/src/components/Question.tsx
index a5a71c5..fb5c419 100644
--- a/src/components/Question.tsx
+++ b/src/components/Question.tsx
@@ -11,6 +11,7 @@ const skip_normal_state: Array<QuestionType> = [
     QuestionType.Radio,
     QuestionType.Checkbox,
     QuestionType.Select,
+    QuestionType.TimeZone,
     QuestionType.Section,
     QuestionType.Range
 ];
@@ -192,6 +193,7 @@ class RenderedQuestion extends React.Component<QuestionProp> {
 
             case QuestionType.Select:
             case QuestionType.Range:
+            case QuestionType.TimeZone:
             case QuestionType.Radio:
                 if (!this.realState.value) {
                     valid = false;
-- 
cgit v1.2.3

