Initial commit
This commit is contained in:
62
application/Espo/Resources/metadata/fields/barcode.json
Normal file
62
application/Espo/Resources/metadata/fields/barcode.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
Reference in New Issue
Block a user