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
I did not set stay() or preserveScroll(), and I don't think there is a way to unset them. These have no effect:
->stay(false)
->preserveScroll(false)
If I use form components instead OR if I replace submitOnChange with a submit button then everything works fine. Seems like there's something wrong in the code and it is forcing stay() and preserveScroll().
Thanks. Awesome package so far!
The text was updated successfully, but these errors were encountered:
stuartcusackie
changed the title
Redirect not working with FormBuilder
Redirect not working with FormBuilder->submitOnChange
Jun 21, 2023
stuartcusackie
changed the title
Redirect not working with FormBuilder->submitOnChange
FormBuilder->submitOnChange is setting stay() and preserveScroll() without instruction
Jun 21, 2023
Description:
I have a simple Form Class, with a single field that submitsOnChange:
The page should redirect but in fact the page stays the same and I get an empty response. I noticed that my requests have these flags:
I did not set stay() or preserveScroll(), and I don't think there is a way to unset them. These have no effect:
If I use form components instead OR if I replace submitOnChange with a submit button then everything works fine. Seems like there's something wrong in the code and it is forcing stay() and preserveScroll().
Thanks. Awesome package so far!
The text was updated successfully, but these errors were encountered: