You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially, I have a form augmented with f-partial and a submit button. The submit button executes some javascript before calling form.submit() programatically. However, this initiates a page load, not a partial load.
The route to test is http://localhost:8000/list. Primary code changes in list.tsx and NameIsland.tsx.
One thought. On Discord, Marvin mentioned "internally partials hook into the form submit event". Would event.preventDefault() disable that hook for that request?
The text was updated successfully, but these errors were encountered:
I have created a minimal reproduction which shows my issue. The project may be found here: https://github.com/cknight/partial-form-test
Essentially, I have a form augmented with f-partial and a submit button. The submit button executes some javascript before calling
form.submit()
programatically. However, this initiates a page load, not a partial load.The route to test is
http://localhost:8000/list
. Primary code changes inlist.tsx
andNameIsland.tsx
.One thought. On Discord, Marvin mentioned "internally partials hook into the form submit event". Would
event.preventDefault()
disable that hook for that request?The text was updated successfully, but these errors were encountered: