Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Form validation in React Native

I wanted to implement a basic form with text inputs, segment control and submit button. Now I want to validate the text inputs to either display error or move to next page on click of submit button. How to implement this design or any tool for the same?

like image 922
Ravi Aggarwal Avatar asked Oct 29 '22 11:10

Ravi Aggarwal


1 Answers

Have a look at this project it has good patterns for form validation:

https://github.com/gcanti/tcomb-form-native

like image 158
Shivam Sinha Avatar answered Nov 02 '22 23:11

Shivam Sinha