Simple way to build clouds from nothing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
862 B

module.exports = function (pCtx, coll) {
coll.formCreate = [
{
size: '',
list: [
{ field: 'name', label: 'Nom du champ', type: 'text', rules: {required: 'Nom manquant'} },
{ field: '_id', label: 'Clé', type: 'text', rules: {required: 'Clé manquante'} }
]
}
]
coll.form = [
{
label: 'General',
field: '',
form: [
{
size: '',
list: [
{ field: 'name', label: 'Nom', type: 'text' },
{ field: '_id', label: 'Clé', type: 'text', disabled: true },
{ field: 'value', label: 'Value', type: 'text' }
]
}
]
}
]
coll.listingHeader = [
{ text: 'Nom', align: 'left', value: 'name' },
{ text: 'Clé', align: 'center', value: '_id' },
{ text: 'Valeur', align: 'center', value: 'value' }
]
}