Initial commit
This commit is contained in:
76
application/Espo/Resources/metadata/fields/linkMultiple.json
Normal file
76
application/Espo/Resources/metadata/fields/linkMultiple.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"params": [
|
||||
{
|
||||
"name": "required",
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
{
|
||||
"name": "readOnly",
|
||||
"type": "bool",
|
||||
"tooltip": "linkReadOnly"
|
||||
},
|
||||
{
|
||||
"name": "readOnlyAfterCreate",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "audited",
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
},
|
||||
{
|
||||
"name": "default",
|
||||
"type": "linkMultiple",
|
||||
"view": "views/admin/field-manager/fields/link-multiple/default"
|
||||
},
|
||||
{
|
||||
"name": "createButton",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "autocompleteOnEmpty",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "maxCount",
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"tooltip": true
|
||||
},
|
||||
{
|
||||
"name": "sortable",
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"hidden": true
|
||||
}
|
||||
],
|
||||
"actualFields": [
|
||||
"ids"
|
||||
],
|
||||
"notActualFields": [
|
||||
"names"
|
||||
],
|
||||
"converterClassName": "Espo\\Core\\Utils\\Database\\Orm\\FieldConverters\\LinkMultiple",
|
||||
"validationList": [
|
||||
"required",
|
||||
"pattern",
|
||||
"columnsValid",
|
||||
"maxCount"
|
||||
],
|
||||
"mandatoryValidationList": [
|
||||
"pattern",
|
||||
"columnsValid"
|
||||
],
|
||||
"notCreatable": true,
|
||||
"notSortable": true,
|
||||
"filter": true,
|
||||
"valueFactoryClassName": "Espo\\Core\\Field\\LinkMultiple\\LinkMultipleFactory",
|
||||
"attributeExtractorClassName": "Espo\\Core\\Field\\LinkMultiple\\LinkMultipleAttributeExtractor",
|
||||
"duplicatorClassName": "Espo\\Classes\\FieldDuplicators\\LinkMultiple",
|
||||
"massUpdateActionList": [
|
||||
"update",
|
||||
"add",
|
||||
"remove"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user