Values are always arrays?! #949
Replies: 1 comment 2 replies
|
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've got a question; I'm using formidableJS together with yup validation. Yup validation in TS is very handy since it gives you a schema / typehints based on what you want to validate:
Since v3 every value that is parsed by the form is an array. Therefor its impossible to use the piece of code above since it will fail immediately since the name is an array with strings and not a string.
So I've got 2 questions:
All reactions