Optional
actionThe action URL path used to submit the form. Overrides <form action>
.
Defaults to the path of the current route.
Optional
encThe encoding used to submit the form. Overrides <form encType>
.
Defaults to "application/x-www-form-urlencoded".
Optional
fetcherIndicate a specific fetcherKey to use when using navigate=false
Optional
flushEnable flushSync for this submission's state updates
Optional
methodThe HTTP method used to submit the form. Overrides <form method>
.
Defaults to "GET".
Optional
navigatenavigate=false will use a fetcher instead of a navigation
Optional
preventIn browser-based environments, prevent resetting scroll after this
navigation when using the
Optional
relativeDetermines whether the form action is relative to the route hierarchy or the pathname. Use this if you want to opt out of navigating the route hierarchy and want to instead route based on /-delimited URL segments
Optional
replaceSet true
to replace the current entry in the browser's history stack
instead of creating a new one (i.e. stay on "the same page"). Defaults
to false
.
Optional
stateState object to add to the history stack entry for this navigation
Optional
viewEnable view transitions on this submission navigation
Submit options available to navigations