UNPKG

formiojs

Version:

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

46 lines (45 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = [{ key: 'placeholder', ignore: true }, { key: 'tabindex', ignore: true }, { type: 'textfield', label: 'Label for Key column', key: 'keyLabel', tooltip: 'Provide a label text for Key column (otherwise \'Key\' will be used)', weight: 404, input: true }, { type: 'checkbox', label: 'Disable Adding / Removing Rows', key: 'disableAddingRemovingRows', tooltip: 'Check if you want to hide Add Another button and Remove Row button', weight: 405, input: true }, { type: 'checkbox', label: 'Show key column before value', key: 'keyBeforeValue', tooltip: 'Check if you would like to show the Key before the Value column.', weight: 406, input: true }, { type: 'textfield', label: 'Add Another Text', key: 'addAnother', tooltip: 'Set the text of the Add Another button.', placeholder: 'Add Another', weight: 410, input: true, customConditional: function customConditional(context) { return !context.data.disableAddingRemovingRows; } }]; exports.default = _default;