You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bhch
changed the title
Const field does not have default value
When initial form data is empty, the widget doesn't create the expected data structure
Nov 13, 2023
I have this schema:
{ "type": "array", "items": { "anyOf": [ { "title": "Text", "type": "object", "keys": { "name": { "type": "string" }, "type": { "const": "text", }, "value": { "type": "string" } } }, { "title": "Tags", "type": "object", "keys": { "name": { "type": "string" }, "type": { "const": "tags" }, "value": { "type": "array", "items": { "type": "string" }, "minItems": 1 } } } ] }, "minItems": 1, "maxItems": 10 }
Property 'type' has no value in my form:
This causes an error: 'Some required fields are missing'
The text was updated successfully, but these errors were encountered: