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

the api for providing initial form state is great. It lets us pass in the whole form state at once. I need to be able to update the entire form...

feature request

Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2. Changelog Sourced from yargs-parser's changelog. 15.0.0 (2019-10-07) Features rework collect-unknown-options into unknown-options-as-args, providing more comprehensive functionality (ef771ca) BREAKING CHANGES rework collect-unknown-options into unknown-options-as-args, providing...

dependencies

### Example ```js const MyComponent = () => { let [ item, setItem ] = useState({ foo: 'bar' }) let [ formState ] = useFormState(item) setTimeout(() => { // this...

enhancement

I'd like a live comparison (as I type) of the formState to do things like enable/disable submit buttons, etc, without waiting for a blur event to trigger the actual formState.touched...

Hey, just wondering if you've though about calling `input.setCustomValidition(error)` to set a custom validation message (around about [here](https://github.com/wsmd/react-use-form-state/blob/c196327450ca101b76e33bc05f7cba0f52d940da/src/useFormState.js#L126))? Is there some reason you're not doing this? Does this have some...

enhancement

To avoid repeating the same piece of code to add validation feedback to an input field I have added in a customProps function to the `formOptions` object to allow the...

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...

dependencies