formiojs
Version:
Common js library for client side interaction with <form.io>
82 lines (81 loc) • 1.46 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _default = {
key: 'form1',
input: false,
tableView: true,
components: [{
input: true,
tableView: true,
inputType: 'text',
inputMask: '',
label: 'First Name',
key: 'firstName',
placeholder: '',
prefix: '',
suffix: '',
multiple: false,
defaultValue: '',
protected: false,
unique: false,
persistent: true,
clearOnHide: true,
validate: {
required: false,
minLength: '',
maxLength: '',
pattern: '',
custom: '',
customPrivate: false
},
conditional: {
show: '',
when: null,
eq: ''
},
type: 'textfield',
tags: []
}, {
input: true,
tableView: true,
inputType: 'text',
inputMask: '',
label: 'Last Name',
key: 'lastName',
placeholder: '',
prefix: '',
suffix: '',
multiple: false,
defaultValue: '',
protected: false,
unique: false,
persistent: true,
clearOnHide: true,
validate: {
required: false,
minLength: '',
maxLength: '',
pattern: '',
custom: '',
customPrivate: false
},
conditional: {
show: '',
when: null,
eq: ''
},
type: 'textfield',
tags: []
}],
type: 'form',
tags: [],
conditional: {
show: '',
when: null,
eq: ''
}
};
exports.default = _default;