UNPKG

formiojs

Version:

Common js library for client side interaction with <form.io>

79 lines (78 loc) 1.48 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = [{ key: 'multiple', ignore: true }, { type: 'datagrid', input: true, label: 'Questions', key: 'questions', tooltip: 'The questions you would like to ask in this survey question.', weight: 0, reorder: true, defaultValue: [{ label: '', value: '' }], components: [{ label: 'Label', key: 'label', input: true, type: 'textfield' }, { label: 'Value', key: 'value', input: true, type: 'textfield', allowCalculateOverride: true, calculateValue: { _camelCase: [{ var: 'row.label' }] } }, { label: 'Tooltip', key: 'tooltip', input: true, type: 'textfield' }] }, { type: 'datagrid', input: true, label: 'Values', key: 'values', tooltip: 'The values that can be selected per question. Example: \'Satisfied\', \'Very Satisfied\', etc.', weight: 1, reorder: true, defaultValue: [{ label: '', value: '' }], components: [{ label: 'Label', key: 'label', input: true, type: 'textfield' }, { label: 'Value', key: 'value', input: true, type: 'textfield', allowCalculateOverride: true, calculateValue: { _camelCase: [{ var: 'row.label' }] } }, { label: 'Tooltip', key: 'tooltip', input: true, type: 'textfield' }] }]; exports.default = _default;