Formik Yup Validation: Allow specific objects in array

前端 未结 0 1365
不思量自难忘°
不思量自难忘° 2020-12-31 02:46

I have a field that should allow objects with specific combinations in the array. For example:

 [
  {firstName: \'A\', lastName:\'AAA\'}, // valid
  {firstNam         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题