Skip to content

EspoCRM – Open Source CRM Application

schema

Yuriiefb2ce9ba309
diff --git a/schema/metadata/entityDefs.json b/schema/metadata/entityDefs.json
index c5d0eb7b52..132863863d 100644
--- a/schema/metadata/entityDefs.json
+++ b/schema/metadata/entityDefs.json
@@ -433,6 +433,27 @@
}
}
},
+ {
+ "if": {
+ "properties": {
+ "type": {
+ "anyOf": [
+ {"const": "enum"},
+ {"const": "multiEnum"},
+ {"const": "checklist"}
+ ]
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "isSorted": {
+ "type": "boolean",
+ "description": "Sort the dropdown options alphabetically."
+ }
+ }
+ }
+ },
{
"if": {
"properties": {