Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormData is not received based on schema properties #4146

Open
4 tasks done
mageshsankar opened this issue Mar 26, 2024 · 1 comment
Open
4 tasks done

FormData is not received based on schema properties #4146

mageshsankar opened this issue Mar 26, 2024 · 1 comment
Labels
awaiting response bug needs reproducible example Missing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.

Comments

@mageshsankar
Copy link

mageshsankar commented Mar 26, 2024

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 mageshsankar added bug needs triage Initial label given, to be assigned correct labels and assigned labels Mar 26, 2024
@heath-freenome
Copy link
Member

@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 heath-freenome added awaiting response needs reproducible example Missing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc. and removed needs triage Initial label given, to be assigned correct labels and assigned labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response bug needs reproducible example Missing a link to a reproduction in the playground, CodeSandbox, JSFiddle, etc.
Projects
None yet
Development

No branches or pull requests

2 participants