The Wayback Machine - https://web.archive.org/web/20220709192714/https://github.com/topics/react-form
Skip to content
#

react-form

Here are 97 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
jafar
react-bare-forms
joegasewicz
joegasewicz commented Jun 10, 2021

https://github.com/joegasewicz/react-bare-forms/blob/75966d93d7e374bbd0e52f5163e81370d4a89b0e/src/validators.ts#L215

I expect this function to work like this:

isValidDate({startDate: "2021-06-1"});
isValidDate({endDate: "2021-06-1"});
isValidDate({startDate: "2021-06-1", endDate: "2021-06-1"});
bug enhancement help wanted good first issue

react-material-ui-form is a React wrapper for Material-UI form components. Simply replace the <form> element with <MaterialUIForm> to get out-of-the-box state and validation support as-is. There's no need to use any other components, alter your form's nesting structure, or write onChange handlers.
  • Updated Nov 3, 2021
  • JavaScript

Improve this page

Add a description, image, and links to the react-form 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 react-form topic, visit your repo's landing page and select "manage topics."

Learn more