Initial commit
This commit is contained in:
41
application/Espo/Resources/metadata/fields/number.json
Normal file
41
application/Espo/Resources/metadata/fields/number.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"params": [
|
||||
{
|
||||
"name": "prefix",
|
||||
"type": "varchar",
|
||||
"maxLength": 16
|
||||
},
|
||||
{
|
||||
"name": "nextNumber",
|
||||
"type": "int",
|
||||
"min": 0,
|
||||
"max": 2147483647,
|
||||
"required": true,
|
||||
"default": 1
|
||||
},
|
||||
{
|
||||
"name": "padLength",
|
||||
"type": "int",
|
||||
"default": 5,
|
||||
"required": true,
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
{
|
||||
"name": "copyToClipboard",
|
||||
"type": "bool",
|
||||
"default": false
|
||||
}
|
||||
],
|
||||
"filter": true,
|
||||
"fieldDefs": {
|
||||
"type": "varchar",
|
||||
"len": 36,
|
||||
"notNull": false,
|
||||
"unique": false
|
||||
},
|
||||
"hookClassName": "Espo\\Tools\\FieldManager\\Hooks\\NumberType",
|
||||
"textFilter": true,
|
||||
"readOnly": true,
|
||||
"default": null
|
||||
}
|
||||
Reference in New Issue
Block a user