handleChange('label', value)}
- />
-
-
- Question type:
-
- handleChange('fieldType', value)}
- placeholder="Choose one"
- options={[
- {
- value: 'text',
- label: 'Short text',
- },
- {
- value: 'textarea',
- label: 'Long text',
- },
- {
- value: 'link',
- label: 'Link',
- },
- // {
- // value: 'attachment',
- // label: 'Attachment',
- // },
- {
- value: 'boolean',
- label: 'Yes / No',
- },
- {
- value: 'single-choice',
- label: 'Single choice',
- },
- {
- value: 'multiple-choice',
- label: 'Multiple choice',
- },
- ]}
- />
-
-
- Choose question type to put in the submission form
-
- {renderFieldTypeOptions()}
-
- Hint
-
- handleChange('hint', value)}
- />
-
- Add an optional help text to show under the question label -
- just like the one you're reading right now
-
-
-
- Required?
-
- handleChange('fieldRequired', value)}
- checkedText="Yes"
- uncheckedText="No"
- />
-
-
-
- Users will not be able to submit the form without answering
- this question, if it is required.
-
-