UNPKG

formiojs

Version:

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

34 lines (33 loc) 959 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = [{ weight: 50, type: 'checkbox', label: 'Perform server validation of remote value', tooltip: 'Check this if you would like for the server to perform a validation check to ensure the selected value is an available option. This requires a Search query to ensure a record is found.', key: 'validate.select', input: true, conditional: { json: { var: 'data.searchField' } } }, { weight: 52, type: 'checkbox', label: 'Allow only available values', tooltip: 'Check this if you would like to perform a validation check to ensure the selected value is an available option (only for synchronous values).', key: 'validate.onlyAvailableItems', input: true, conditional: { json: { in: [{ var: 'data.dataSrc' }, ['values', 'json', 'custom']] } } }]; exports.default = _default;