Replies: 2 comments
-
What kind of auth errors would be displayed? Entering the wrong password seems like the obvious one, but I would normally expect that to appear as some kind of top-level alert in the form rather than on the password field itself. |
Beta Was this translation helpful? Give feedback.
-
Did you found a way in meantime? |
Beta Was this translation helpful? Give feedback.
-
I'm using remix-validated-form (which is great, btw 😄) together with remix-auth and I'm wondering If I can somehow show auth errors on fields of a
ValidatedForm
. remix-auth stores authentication errors in the session and you can then read them in a loader like so:I tried using
return validationError();
but this doesn't seem to work when returning from a loader instead of an action.Is anyone else using these libs together and found a solution to this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions