snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
This commit is contained in:
47
application/Espo/Resources/metadata/fields/number.json
Normal file
47
application/Espo/Resources/metadata/fields/number.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"name": "suppressHook",
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"hidden": true
|
||||
}
|
||||
],
|
||||
"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