We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You can currently pass a data object into useForm which allows you to merge additional data from outside the form into the submission.
data
useForm
It would be nice if, similarly to this, we could pass callback functions which perform operations on data from our form before submission.
For example, if I have a dropdown for selecting a state:
Washington
WA
This could be a new attribute of the options PR, or potentially could be inferred from the existing data attribute.
options
The text was updated successfully, but these errors were encountered:
No branches or pull requests
You can currently pass a
data
object intouseForm
which allows you to merge additional data from outside the form into the submission.It would be nice if, similarly to this, we could pass callback functions which perform operations on data from our form before submission.
For example, if I have a dropdown for selecting a state:
Washington
Washington
intoWA
WA
is sent to FormspreeThis could be a new attribute of the
options
PR, or potentially could be inferred from the existingdata
attribute.The text was updated successfully, but these errors were encountered: