Initial commit
This commit is contained in:
81
application/Espo/Resources/metadata/fields/text.json
Normal file
81
application/Espo/Resources/metadata/fields/text.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"params": [
|
||||
{
|
||||
"name": "required",
|
||||
"type": "bool",
|
||||
"default": false
|
||||
},
|
||||
{
|
||||
"name": "default",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"name": "maxLength",
|
||||
"type": "int"
|
||||
},
|
||||
{
|
||||
"name": "seeMoreDisabled",
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
},
|
||||
{
|
||||
"name": "rows",
|
||||
"type": "int",
|
||||
"min": 1
|
||||
},
|
||||
{
|
||||
"name": "rowsMin",
|
||||
"type": "int",
|
||||
"default": 2,
|
||||
"min": 1,
|
||||
"hidden": true
|
||||
},
|
||||
{
|
||||
"name": "cutHeight",
|
||||
"type": "int",
|
||||
"default": 200,
|
||||
"min": 1,
|
||||
"tooltip": true
|
||||
},
|
||||
{
|
||||
"name": "displayRawText",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "preview",
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
},
|
||||
{
|
||||
"name": "attachmentField",
|
||||
"type": "varchar",
|
||||
"view": "views/admin/field-manager/fields/text/attachment-field"
|
||||
},
|
||||
{
|
||||
"name": "readOnly",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "readOnlyAfterCreate",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"name": "audited",
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
],
|
||||
"validationList": [
|
||||
"required",
|
||||
"maxLength"
|
||||
],
|
||||
"filter": true,
|
||||
"personalData": true,
|
||||
"textFilter": true,
|
||||
"textFilterForeign": true,
|
||||
"fullTextSearch": true,
|
||||
"sanitizerClassNameList": [
|
||||
"Espo\\Classes\\FieldSanitizers\\EmptyStringToNull"
|
||||
],
|
||||
"default": null
|
||||
}
|
||||
Reference in New Issue
Block a user