issues Search Results · repo:wsmd/react-use-form-state language:JavaScript
Filter by
80 results
(119 ms)80 results
inwsmd/react-use-form-state (press backspace or delete to remove)I have a use case that I have to pass formState and text from parent to child component:
const Child = ({text, formState}) = {
return (
input {...text( name )} /
);
}
const Parent = () = ...
karenpeng
- Opened on Dec 29, 2022
- #163
When I am trying to install using following command: npm i react-use-form-state
It gives following error: Found: react@17.0.2 npm ERR! node_modules/react npm ERR! react@ ^17.0.2 from the root project ...
shivamsahni
- 1
- Opened on Sep 28, 2021
- #158
Is this project actively maintained @wsmd?
Are you open to opening up collaboration?
wswoodruff
- 4
- Opened on Aug 20, 2021
- #156
For current validation or type checking when using the number as the type of input we need a higher level of checking
just to filter out NaN inputs. Since the type for value is string BaseInputProps.
...
Markila-BOT
- Opened on Jun 15, 2021
- #153
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 an input or two
- user hits ...
gitcatrat
- 2
- Opened on Jan 2, 2021
- #146
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
domzs
- 1
- Opened on Oct 26, 2020
- #144
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 all (form noValidate={true} ...
IrvingArmenta
- 1
- Opened on Oct 7, 2020
- #143
The TS typedefs say that RawInputProps includes a name field:
https://github.com/wsmd/react-use-form-state/blob/16df9001b6e390fa0957b09979e2bd39d41c3862/src/index.d.ts#L132-L137
However, that name field ...
markerikson
- 1
- Opened on Oct 1, 2020
- #141
Thanks for the great library!
If I have a simple signup form:
const SignUp = ({onSignup}) = {
const [ formState, {email, password}] = useFormState();
const handleRegister = (e) = {
e.preventDefault(); ...
question
msakrejda
- 2
- Opened on Jun 22, 2020
- #138
Hello,
I just started using your package, very good one, thanks. But I found out that isPristine feature is not present in the
code donwloaded from NPM
https://registry.npmjs.org/react-use-form-state/-/react-use-form-state-0.12.1.tgz ...
duplicate
mpfullstack
- 5
- Opened on May 4, 2020
- #134

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.