UNPKG

formiojs

Version:

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

54 lines (53 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _default = [{ wieght: 200, type: 'select', datasrc: 'values', key: 'fields.year.type', label: 'Type of input', data: { values: [{ label: 'Number', value: 'number' }, { label: 'Select', value: 'select' }] } }, { weight: 203, type: 'number', input: true, key: 'fields.year.minYear', label: 'Minimum Year', placeholder: '1900', tooltip: 'The minimum year that can be entered.' }, { weight: 204, type: 'number', input: true, key: 'fields.year.maxYear', label: 'Maximum Year', placeholder: '2030', tooltip: 'The maximum year that can be entered.' }, { weight: 210, type: 'textfield', input: true, key: 'fields.year.placeholder', label: 'Placeholder', placeholder: 'Year Placeholder', tooltip: 'The placeholder text that will appear when Year field is empty.' }, { weight: 215, type: 'checkbox', label: 'Hidden', tooltip: 'Hide the Year part of the component.', key: 'fields.year.hide', input: true }]; exports.default = _default;