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
Read [data-turbo-action] during Form Submissions (#409)
* Re-structure existing Navigation tests
In preparation for `<form method="post">`-driven navigations, this
commit removes unnecessary `[method]` attributes, and renames `[id]`
attributes to communicate the verb to the test cases.
* Read `[data-turbo-action]` during Form Submissions
Closeshotwired/turbo-ios#44
Follow-up to #231
---
This commit follows-up [#231][], which added `[data-turbo-action]`
support for idempotent form submissions to maintain parity with
`<a>`-initiated Visits.
These changes re-use the existent `Navigator.getActionForFormSubmission`
function to determine the value for the `VisitOptions.action` options.
[#231]: #231
Co-authored-by: David Heinemeier Hansson <[email protected]>
0 commit comments