aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Question.tsx
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-03 17:04:21 +0100
committerGravatar Joe Banks <[email protected]>2024-07-03 17:14:15 +0100
commit2f24f22eac95056fe274c6086c422db2fdb069cf (patch)
treebffb9d7cd228fe89de4eaf3adb987d05b8fae385 /src/components/Question.tsx
parentMerge pull request #506 from python-discord/dependabot/npm_and_yarn/codemirro... (diff)
Add new field for capturing timezones
Diffstat (limited to 'src/components/Question.tsx')
-rw-r--r--src/components/Question.tsx2
1 files changed, 2 insertions, 0 deletions
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;