I'm having a weird issue, not sure if it's Laravel related or something with Inertia or the Inertia Modal Routes...
1) You submit a Form on /create to /create/preview/, if it passes Validation, it returns a Inertia Modal and your route is changed to /create/preview/
2) When you close the Inertia Modal you are brought back to the underlying page of /create
3) If you submit the Form again to /create/preview/ it returns 404 even though the url and the payload is exactly the same
If the Validation doesn't pass in the Laravel Controller, there is no problem to resubmit the preview multiple times. The error only seems to happen once you are shown the modal.
The only difference between the requests I'm seeing is these headers.
I'm having a weird issue, not sure if it's Laravel related or something with Inertia or the Inertia Modal Routes... 1) You submit a Form on
/create
to/create/preview/
, if it passes Validation, it returns a Inertia Modal and your route is changed to/create/preview/
2) When you close the Inertia Modal you are brought back to the underlying page of/create
3) If you submit the Form again to/create/preview/
it returns 404 even though the url and the payload is exactly the sameIf the Validation doesn't pass in the Laravel Controller, there is no problem to resubmit the preview multiple times. The error only seems to happen once you are shown the modal.
The only difference between the requests I'm seeing is these headers.