Initial commit
This commit is contained in:
53
application/Espo/Resources/metadata/fields/link.json
Normal file
53
application/Espo/Resources/metadata/fields/link.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"params": [
|
||||
{
|
||||
"name": "required",
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
{
|
||||
"name": "audited",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "readOnly",
|
||||
"type": "bool",
|
||||
"tooltip": "linkReadOnly"
|
||||
},
|
||||
{
|
||||
"name": "readOnlyAfterCreate",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "default",
|
||||
"type": "link",
|
||||
"view": "views/admin/field-manager/fields/link/default"
|
||||
},
|
||||
{
|
||||
"name": "createButton",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "autocompleteOnEmpty",
|
||||
"type": "bool"
|
||||
}
|
||||
],
|
||||
"actualFields": [
|
||||
"id"
|
||||
],
|
||||
"notActualFields": [
|
||||
"name"
|
||||
],
|
||||
"converterClassName": "Espo\\Core\\Utils\\Database\\Orm\\FieldConverters\\Link",
|
||||
"validationList": [
|
||||
"required",
|
||||
"pattern"
|
||||
],
|
||||
"mandatoryValidationList": [
|
||||
"pattern"
|
||||
],
|
||||
"filter": true,
|
||||
"notCreatable": true,
|
||||
"valueFactoryClassName": "Espo\\Core\\Field\\Link\\LinkFactory",
|
||||
"attributeExtractorClassName": "Espo\\Core\\Field\\Link\\LinkAttributeExtractor"
|
||||
}
|
||||
Reference in New Issue
Block a user