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
If I enter foo@bar.com and submit the form it returns with Email already taken. => Ok
If I change the email to foo the error changes to Invalid email without requiring a submit => not sure if this is a bug or a feature. I think it should only re-validate if I use mode="onChange"
If I now change the email to a valid one like remix@foo.com the old/cached error appears: Email already taken => Not Ok. I think this is confusing, as it might lead to the assumption that remix@foo.com is taken too.
My proposal would be to allow resetting errors
The text was updated successfully, but these errors were encountered:
this is regarding: https://remix-forms.seasoned.cc/examples/actions/field-error
If I enter foo@bar.com and submit the form it returns with Email already taken. => Ok
If I change the email to foo the error changes to Invalid email without requiring a submit => not sure if this is a bug or a feature. I think it should only re-validate if I use mode="onChange"
If I now change the email to a valid one like remix@foo.com the old/cached error appears: Email already taken => Not Ok. I think this is confusing, as it might lead to the assumption that remix@foo.com is taken too.
My proposal would be to allow resetting errors
The text was updated successfully, but these errors were encountered: