#tried that too, it doesn't work

1 messages · Page 1 of 1 (latest)

icy pike
#

Why specifically did it not work? Is it that there's no way or that it just didn't yield the desired results?

regal glacier
#

JSON schema is lossy, it's not 100% correcrt

#

the author of the zod to json schema lib also says so

#

another thing I'm thinking and maybe I should do is:

<Form>
<Input validationRules={} />
</Form>

Just let the user specify the validation rules in the input itself, instead of a separate zod schema

icy pike