How to customize progressive enhancement? #360
Replies: 1 comment 1 reply
-
After doing some research i found that Form.Root has a prop called options which exposes a few different callbacks onSubmit, onResult etc. which allow you to intercept and manipulate the data as you wish. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to somehow intercept the FormAction to add some more data to the request (I need to send both the form data and some extra stuff to the server).
After doing a bit of research, customizing use:enhance seems to be a way to do this. How do i configure my Form.Roots use:enhance or are there other approaches to intercept and add data to a form action?
Beta Was this translation helpful? Give feedback.
All reactions