FormData is not received based on schema properties #4146
Labels
awaiting response
bug
needs reproducible example
Missing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.
Prerequisites
What theme are you using?
core
Version
5.x
Current Behavior
FromData not receive as per schema properties
Expected Behavior
FromData should receive as per schema properties
Steps To Reproduce
Schema
{ "title": "", "type": "object", "required": [ "homeComponent", ], "properties": { "homeComponent": { "type": "object", "title": "Home Address", "properties": { "zipCode": { "type": "string", "title": "Zip", "minLength": 5 }, "city": { "type": "string", "title": "City" }, } }, }
UISchema
{ "homeComponent": { "ui:field": "CustomHomeComponent", } }
Note: HomeComponent is a custom component that contains all the required UI fields inside. I need to receive formData properly from HomeComponent and map it to the corresponding item, but I don't receive formData; it comes as empty.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: