python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to restrict formik validation when you click cancel button in react
from the field if you defocus without giving anything you are getting the validation error as well without giving value if you click on submit button you are getting validation error this is right ,b...
Sougata Mukherjee
Votes: 0
Answers: 2
Yup validation doesn't work when use not(!) in matches function
I have a project with React and next js. I use formik for handling my forms and Yup for validations
I have an input and I want perform some validations on it.
this field must be required so if user d...
Ali Ehyaie
Votes: 0
Answers: 2
Can not change language for schema warning message in i18next
I am using i18next for multilingual support in reactjs. I am also using Yup and defined my schemas in the file below.
const hasEmail = /^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$/;
export const valida...
Arshdeep Singh Khalsa
Votes: 0
Answers: 0
How to change Form initialValues and Fields based on selection in ReactJS?
I have an object like this :
const initialValues = {
"Name": "",
"Price": "",
"Quantity": "",
"Details": {
...
deathloop
Votes: 0
Answers: 1