submitData
gets thrown away if onValid
submit handler is used
#149
Labels
submitData
gets thrown away if onValid
submit handler is used
#149
Hi folks 👋
I am using the
onValid
submit handler in the following way (with a fetcher):I noticed that when I do this, it now no longer passes through extra values from
submitData
to the server on form submission 🤔Looks like the merged payload gets thrown away when
onValid
is taking over.Is that intentional? Could they just be merged into the data passed into the valid handler here? Or do I have to manually pass them myself in
createFormData
now inonValid
(not usesubmitData
anymore).The text was updated successfully, but these errors were encountered: