63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"params": [
|
|
{
|
|
"name": "required",
|
|
"type": "bool",
|
|
"default": false
|
|
},
|
|
{
|
|
"name": "codeType",
|
|
"type": "enum",
|
|
"options": [
|
|
"CODE128",
|
|
"CODE128A",
|
|
"CODE128B",
|
|
"CODE128C",
|
|
"EAN13",
|
|
"EAN8",
|
|
"EAN5",
|
|
"EAN2",
|
|
"UPC",
|
|
"UPCE",
|
|
"ITF14",
|
|
"pharmacode",
|
|
"QRcode"
|
|
],
|
|
"translation": "FieldManager.options.barcodeType"
|
|
},
|
|
{
|
|
"name": "lastChar",
|
|
"type": "varchar",
|
|
"maxLength": 1,
|
|
"tooltip": "barcodeLastChar"
|
|
},
|
|
{
|
|
"name": "readOnly",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "readOnlyAfterCreate",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"validationList": [
|
|
"required",
|
|
"maxLength"
|
|
],
|
|
"mandatoryValidationList": [
|
|
"maxLength"
|
|
],
|
|
"filter": true,
|
|
"textFilter": true,
|
|
"textFilterForeign": true,
|
|
"fieldDefs": {
|
|
"type": "varchar",
|
|
"len": 255
|
|
},
|
|
"validatorClassName": "Espo\\Classes\\FieldValidators\\VarcharType",
|
|
"sanitizerClassNameList": [
|
|
"Espo\\Classes\\FieldSanitizers\\StringTrim"
|
|
],
|
|
"default": null
|
|
}
|