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
Check a checkbox, no error is still visible although the validation should fail (due to uuid())
Click submit, data is not being logged
The issue is that errors coming from zod don't seem to surface into the error coming from useTsController(). The submit is disabled correctly but no error can be shown.
If you remove the uuid() part the submit works fine.
Expected behaviour
Array schema validation errors should also surface when using useTsController inside a field component.
Maybe I'm just doing something wrong but the codesandbox and my local solution provide just the same output where the error is never changed on actual falsy inputs.
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Version Number
1.8.0
Codesandbox/Expo snack
https://codesandbox.io/s/react-ts-form-example-forked-38ykmt?file=/src/App.tsx
Steps to reproduce
no error
is still visible although the validation should fail (due touuid()
)The issue is that errors coming from zod don't seem to surface into the
error
coming fromuseTsController()
. The submit is disabled correctly but no error can be shown.If you remove the
uuid()
part the submit works fine.Expected behaviour
Array schema validation errors should also surface when using
useTsController
inside a field component.Maybe I'm just doing something wrong but the codesandbox and my local solution provide just the same output where the error is never changed on actual falsy inputs.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: