Skip to content
#

async-validation

Here are 20 public repositories matching this topic...

kettanaito
kettanaito commented Dec 12, 2018

What

I suggest to make the return statement of form.submit() unified for all its branching.

Why

Current behavior

Now calling form.submit() returns two different things based on the validity of a form:

  1. Returns undefined if a form is invalid.
  2. Returns Promise<response> after the dispatched action.

Expected behavior

Calling form.submit() always returns

enhancement good first issue

Improve this page

Add a description, image, and links to the async-validation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the async-validation topic, visit your repo's landing page and select "manage topics."

Learn more