Submit Payload
See original GitHub issueđ Feature request
Current Behavior
People do hack with setTimeout
+ setFieldValue
- #214
Desired Behavior
It would be great if we have an option to pass something with submitForm(payload)
to submit handler or get an event from submitted button.
Who does this impact? Who is this for?
For all people who need to render two submit buttons with different submitting logic!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:15
- Comments:11
Top Results From Across the Web
Sending form data - Learn web development | MDN
As we'd alluded to above, sending form data is easy, but securing an application can be tricky. Just remember that a front-end developer...
Read more >REST Payload - How to Push to Web API - Dotcom-Monitor
Learn how to easily submit a request to the REST web API or push payloads with the Dotcom-Monitor platform.
Read more >How do I send JSON Payload to the server? - ReqBin
In this JSON Payload Example, we send JSON to the ReqBin echo URL. Click Send to execute the JSON Payload request online and...
Read more >How to send payload as a multipart/form File in a HTTP Request
How to send your payload as a File using multipart/form in your HTTP request.
Read more >Reference: View interaction payloads - Slack API
The full list of fields that form view_submission and view_closed events, received when modals are submitted or closed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
YES ! I have exactly this problem right now. I want a âsave as draftâ and a âsave & publishâ button, very easy to handle, I would simply like to add a query parameter to the post URL, but I have been looking for any clean solution for the last 2 hours and canât find any⌠Having an event helping me to find out what is the name of the submit button used would solve the case.
So all youâre asking for is the submit event during
onSubmit
? I donât have anything against that, necessarily, but Iâm not the one to make the final for API changes. Iâd recommend modifying this issue from âSubmit Payloadâ to something like âPass Submit Event to onSubmit Handlerâ to help future maintainers understand what is being asked for!