Closed haivuw closed 1 year ago
I think we need to check for empty string also: https://github.com/iway1/react-ts-form/blob/291f32f3e677547a47ec30e9572378147ff20868/src/FieldContext.tsx#L107
It seems I need to change my schema instead. https://github.com/colinhacks/zod/discussions/1950
Version Number
1.1.3
Codesandbox/Expo snack
https://codesandbox.io/s/react-typescript-forked-j8cy2u?file=/src/App.tsx
Steps to reproduce
Expected behaviour
Shows
*Required
error.Relevant log output
No response