react-component / react-component/field-form

Submitting state of the form

Open
#327 0 comments 3 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.