How to validate forms in React Native using Formik

preview_player
Показать описание
Formik is a great tool to make form input validation and submission as easy as possible. In this tutorial, I will walk you through setting up a simple login screen using this powerful React Native package

00:00 - Intro
01:04 A quick overview of the Formik docs
02:58 Adding Formik to the app
03:50 defining form props with mapPropsToValues
04:12 handling form submission with handleSubmit
06:12 setting the form state
08:14 Adding form validation
11:02 Showing Validation text
13:15 Quick summary

Рекомендации по теме
Комментарии
Автор

In my opinion, there is no better way to create forms in React Native. Do you prefer any other method to create Forms?

TheFlutterFactory
Автор

Your channel deserves more recognition man. Thank you for all these helpful tutorials for free. I truly appreciate it, keep up the great work!

DL
Автор

touched property is only true if onBlur event fires. How can I get it onChange event

ogulcankarayel
visit shbcf.ru