Errors not updated when the input is disabled #243
-
Hi, I'm trying to accomplish some async validation with Conform and Zod in a Remix app and running into something I don't quite understand. In my action, I use Zod's The issue is the validation error I specify is showing up in the field config's I've verified that the lastSubmission value on the client is as I would expect, but the field config doesn't seem to match up. Here's a silly screenshot in case it helps: Any thoughts? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Thanks for the detailed report @halljus . It does looks like a bug to me. But I am not able to reproduce the problem you had. Any chance you can provide a codesandbox / repository that reproduce the problem? |
Beta Was this translation helpful? Give feedback.
If you want to have the fields disabled on revalidation, you can do this: