diff options
author | 2024-07-03 17:04:21 +0100 | |
---|---|---|
committer | 2024-07-03 17:14:15 +0100 | |
commit | 2f24f22eac95056fe274c6086c422db2fdb069cf (patch) | |
tree | bffb9d7cd228fe89de4eaf3adb987d05b8fae385 /src/components/Question.tsx | |
parent | Merge 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.tsx | 2 |
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; |