#validateInputOnChange behavior with Zod validation

2 messages · Page 1 of 1 (latest)

mellow storm
#

Using superRefine doesn't seem to reset errors.

On the codesandbox example

  • Fill in the "Dependent field"
  • Clear it
  • Try checking and unchecking the Switch field and notice that form.errors doesn't clear

https://codesandbox.io/s/quizzical-goldberg-3wvrdz?file=/src/App.tsx

CodeSandbox

quizzical-goldberg-3wvrdz using @emotion/react, @mantine/carousel, @mantine/core, @mantine/dates, @mantine/dropzone, @mantine/form, @mantine/hooks, @mantine/modals, @mantine/notifications

signal grove