Initial load and display of public form

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-04-28 10:50:44 +02:00 committed by Jonas Rittershofer
commit 7462be7bfe
13 changed files with 227 additions and 9536 deletions

View file

@ -38,12 +38,16 @@ export default {
icon: 'icon-answer-multiple',
label: t('forms', 'Multiple choice'),
unique: true,
// Define conditions where this questions is not ok
validate: question => question.options.length > 0,
},
multiple: {
component: QuestionMultiple,
icon: 'icon-answer-checkbox',
label: t('forms', 'Checkboxes'),
// Define conditions where this questions is not ok
validate: question => question.options.length > 0,
},
short: {