We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 822f321 commit 2af0120Copy full SHA for 2af0120
src/models/QuestionModel.js
@@ -6,7 +6,7 @@
6
7
// Global data store
8
9
-export const QuestionType = {
+export const QuestionType = Object.freeze({
10
Dropdown: 'FlowFormDropdownType',
11
Email: 'FlowFormEmailType',
12
LongText: 'FlowFormLongTextType',
@@ -17,13 +17,13 @@ export const QuestionType = {
17
SectionBreak: 'FlowFormSectionBreakType',
18
Text: 'FlowFormTextType',
19
Url: 'FlowFormUrlType'
20
-}
+})
21
22
-export const DropdownOptionBlank = {
+export const DropdownOptionBlank = Object.freeze({
23
label: '',
24
value: '',
25
disabled: true
26
27
28
export class ChoiceOption {
29
constructor(options) {
0 commit comments