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: drafts - pass custom transformErrors function to form after formule removal #2891

Open
pamfilos opened this issue May 8, 2024 · 1 comment
Assignees

Comments

@pamfilos
Copy link
Collaborator

pamfilos commented May 8, 2024

for with-formule branch:

We have removed the transformErrors prop passing on react-formule and from now everyone has to go add his own custom transformErrors

Lets copy the legacy functionality to the CAP side

Add also some information in Formule's readme about how to pass a transformErrors for example to avoid validation messages for required fields in admin (or maybe even provide a default or an easy to change prop for the required fields case).

@miguelgrc miguelgrc changed the title ui: drafts - pass custom tranformErrors function to form after formule removal ui: drafts - pass custom transformErrors function to form after formule removal May 13, 2024
@pamfilos
Copy link
Collaborator Author

Similar #2688

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

No branches or pull requests

2 participants