src/components/form/fixtures/comp1.js
export 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: ''
}
};