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

editor/new: submit empty form block Publish Article button #4

Open
peernohell opened this issue May 6, 2020 · 0 comments
Open

editor/new: submit empty form block Publish Article button #4

peernohell opened this issue May 6, 2020 · 0 comments

Comments

@peernohell
Copy link

Hi,

Thanks you so much for you work ❤️
On the demo website, I wanted to see which errors will popup if I submit an empty form for a new article.

When I do that the Publish Article button become disabled and never become enable.
I also notice in the console that a promise exception was uncaught.

Uncaught (in promise) Error: Request failed with status code 422

Certainly that the submit function didn't catch the promise and show errors.

If you want to reproduce, go to https://next-realworld.now.sh/editor/new login then submit the form without filling anything.

If you need more information feel free to ask :)

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

No branches or pull requests

1 participant