UNPKG

formiojs

Version:

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

64 lines (63 loc) 1.23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = [{ type: 'datagrid', input: true, label: 'Questions', key: 'questions', tooltip: 'The questions you would like to as in this survey question.', weight: 50, 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' }] } }] }, { type: 'datagrid', input: true, label: 'Values', key: 'values', tooltip: 'The values that can be selected per question. Example: \'Satisfied\', \'Very Satisfied\', etc.', weight: 50, 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' }] } }] }]; exports.default = _default;