At least one input needs to be vaild using Yup

前端 未结 0 553
耶瑟儿~
耶瑟儿~ 2021-01-13 10:13

I have a form where either a phone number or email need to be vail before submitting.

From what I have read this should work.

let schema = yup.object()         


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