Skip to content

Commit 04a0cf3

Browse files
committed
update changeset
1 parent be20c31 commit 04a0cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.changeset/curvy-drinks-flash.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@remix-run/react": patch
33
---
44

5-
When an action is omitted from`<Form>`or`useFormAction`, the resolved action would be the current location but the search string was omitted. This was a bug, and the search params will now be included in the form's action attribute.
5+
Previously, if an `action` was omitted from `<Form>` or `useFormAction`, the action value would default to `"."`. This is incorrect, as `"."` should resolve based on the current _path_, but an empty action resolves relative to the current _URL_ (including the search and hash values). We've fixed this to differentiate between the two.

0 commit comments

Comments
 (0)