react-component / react-component/field-form
Submitting state of the form
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 286
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 1
Description
Hello everyone,
Is there any way to check if a submission is in progress using the form's context or do we have to handle it manually using an internal state?
The use case is to disable the submit button while the form is in submission progress.
We previously used formik and solved that using isSubmitting:
https://formik.org/docs/api/formik#issubmitting-boolean
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the form context and submission lifecycle APIs first; the issue names no files or tests. Done means the submission-in-progress state can be checked to disable a submit button, with coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100