react-use-form-state icon indicating copy to clipboard operation
react-use-form-state copied to clipboard

📄 React hook for managing forms and inputs state

Results 31 react-use-form-state issues
Sort by recently updated
recently updated
newest added

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.7. Changelog Sourced from handlebars's changelog. v4.7.7 - February 15th, 2021 fix weird error in integration tests - eb860c0 fix: check prototype property access in...

dependencies

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

Remove unneeded signature for `useFormState` and makes the generic signature form shape default to `StateShape`. This allows the TypeScript compiler to infer the form shape form the initial values, which...

under review

Situation: * some kind of update form is rendered (e.g user profile update page) * user hits submit but request is not made because form is pristine * user changes...

Is there a way to trigger validation for all inputs on "Submit" ? something like `formState.validateFields()` or something. I don't want to use the `HTML5` api for form validation at...

Hi, Would it be possible to make a new formState function reset current values to initial values. And the new values would be pristine... Thank You

This is a feature request to allow the `validate()` function to return a `Promise` for the validation result. A common use case is to perform an API request to check...

feature request

[https://github.com/facebook/react/issues/18178](url) my strack trace links the above issue with this code in react-use-form-state: ```js if (formState.current.touched[name] == null) { >>> formState.setTouched(_defineProperty({}, name, false)); } ``` I'm still digging into this...

First of all, thank you very much for this great package! It's an absolute breeze to work with! One thing I've been missing is the ability to set the values...