This commit is contained in:
dswbx
2025-06-21 17:05:27 +02:00
parent 42edce904f
commit 6e78a4c238
37 changed files with 215 additions and 125 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ export const textFieldConfigSchema = s
minLength: s.number(),
maxLength: s.number(),
pattern: s.string(),
html_config: s.object({
element: s.string({ default: "input" }),
html_config: s.partialObject({
element: s.string(),
props: s.record(s.anyOf([s.string({ title: "String" }), s.number({ title: "Number" })])),
}),
...omitKeys(baseFieldConfigSchema.properties, ["default_value"]),