Formik is a great way to work with Forms. It manages states, state change and also using the Yup library, validation just becomes so easy. We have already seen examples of this in our previous videos as well. But, there are some validations which are not possible on the front end. For example, what happens when the credentials are not correct on the login form?
In this video, we are going to look at how we can set errors coming from the Laravel validator to the Formik form. In this way it becomes very easy to handle not only the client side validation but also the server side validation.
Github urls:
https://github.com/amitavroy/video-re... https://github.com/amitavdevzone/vide...
App link:
https://video-reviews.vercel.app
You can find me on:
Twitter: / amitavroy7
Discord: / discord