#My validation error is not being show,

1 messages · Page 1 of 1 (latest)

tawny plume
#

Note: I verified that the email and password are sent to my controller.
Its really the error message which i cant find on client side.

silk berry
#

Don't think const { errors } = usePage().props; would be reactive, so whenever the errors are updated, that value wouldn't be updated
Any reason you're not just using the form helper? That would include reactivity on the errors

tawny plume
#

@silk berry do you maybe know an alternative to the errors const?

And according to the information i’ve looked up, the form helpers only work with client side rendering so because the error is sent through server side i can’t use the form helpers.

silk berry
#

Eh no, that's not how Inertia's SSR works. Essentially nothing happens server-side with Inertia, SSR is just a pre-rendered intial page, then afterwards it's just Inertia

tawny plume
tawny plume
#

Alright ill try that out again, ty

lean grotto
tawny plume
tawny plume
lean grotto
tawny plume
#

I fixed the problem.
I created a new project and copied al my files. So yes everything is the same but its working now.

mellow ember
#

If you are still facing the issue, try changing the session storage from cookies to files or another option. @tawny plume