Skip to content

Handle form errors #270

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

Merged
merged 10 commits into from
Mar 15, 2021
Merged

Conversation

justinezahiri
Copy link
Contributor

Display API errors for each field of create and edit form #262

@dunglas dunglas merged commit 93403c8 into api-platform:main Mar 15, 2021
@dunglas
Copy link
Member

dunglas commented Mar 15, 2021

Thanks @justinezahiri !!

justinezahiri added a commit to justinezahiri/api-platform-client-generator that referenced this pull request Aug 5, 2021
* removed useless import in Show

* display api error for each fields

* refacto with reduce

* reverted ReferenceLinks import suppression

* removed useless SubmissionError class, set errors Formik compatible in dataAccess.ts

* tests passed

* simplified errors

* added ErrorMessage component

* set default msg

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

Successfully merging this pull request may close these issues.

3 participants