form.patch
results in a full page reload with return back()
or when validation error is thrown
#2459
Replies: 1 comment
-
Beautiful. I was missing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a nested component that calls
form.patch
. When my controller leveragesback()
,back(303)
, or otherwise throws a validation error, the entire page redirects/refreshes the current URL rather than updating state.My
patch
call includesonly
andpreserve*
properties.If relevant, after the page loads, when a validation error is thrown, I can see the page contains the expected
errors
bag.Beta Was this translation helpful? Give feedback.
All reactions