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

ui: update Form component "transformError" component #2688

Open
pamfilos opened this issue Nov 15, 2022 · 0 comments · May be fixed by #2878
Open

ui: update Form component "transformError" component #2688

pamfilos opened this issue Nov 15, 2022 · 0 comments · May be fixed by #2878

Comments

@pamfilos
Copy link
Collaborator

Bug report

What is the current behavior?
Right now we pass a transformErrors function to the RJSF Form component which updates the error object
(e.g. for drafts we remove "require field" error to allow saving even when no required fields are there, etc )

We should only pass the transformError function we have already for draft editor only, and make possible to pass as prop in the /forms/Form.js component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant