Hello I am trying to achieve error validation with Yup and Formik and I cannot figure out how to get it working with just an array of strings. There no examples of simple arrays of Formik and Yup.
I am simply trying to use the required() method to ensure the user enters at least one friend before they are allowed to press submit. For some reason I am not getting anything in my errors though.
I created a codesandbox for anyone that would like to help me. https://codesandbox.io/s/stupefied-fire-ksbid?file=/src/App.tsx
Thanks in advance!