fix(schema): allow dashes in field names, i18n sections, number widget

This commit is contained in:
apairon committed 2026-09-21 19:38:44 +00:00
1 parent 1de0d67992
commit 19601b1f0f
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -16,6 +16,7 @@
"enum": [
"text",
"textarea",
"number",
"checkbox",
"switch",
"select",
@@ -59,7 +60,7 @@
"pattern": "^(main|sidebar|sidebar:.+)$"
},
"section": {
"type": "string"
"$ref": "defs.schema.json#/definitions/i18nText"
},
"containerProps": {
"type": "object",
+1 -1
View File
@@ -13,7 +13,7 @@
"properties": {
"name": {
"type": "string",
"pattern": "^[0-9A-Za-z_]+$"
"pattern": "^[0-9A-Za-z_-]+$"
},
"type": {
"type": "string",