jaredpalmer / jaredpalmer/formik

Can I send data on handleSubmit to the onSubmit function ?

Open
#1,900 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
34.3k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

## ❓Question

Seriously, for immediate help, just ask your question on the #formik channel on [Reactiflux](https://discordapp.com/invite/MbKwYuq).
the case is I have form which has two buttons, each of them submit the form and send a request but one of them needs to send some info in one of them for example Save with no activation and the other save with activation. info not included in the form values

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reviewing Formik's submit handling and the onSubmit API to determine whether button-specific data is supported; done would require a clearly scoped decision about the API or documentation needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.