react-jsonschema-form icon indicating copy to clipboard operation
react-jsonschema-form copied to clipboard

FormData is not received based on schema properties

Open mageshsankar opened this issue 1 year ago • 1 comments

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

- OS:Mac
- Node:
- npm:7.6.3

Anything else?

No response

mageshsankar avatar Mar 26 '24 05:03 mageshsankar

@mageshsankar We don't understand what problem you are experiencing. Can you create a reproducible test case for us? Maybe in a playground? Until then we can't help you

heath-freenome avatar Apr 05 '24 19:04 heath-freenome