Conditional validation in yup still validates fields that should not be validated

前端 未结 0 1380
天命终不由人
天命终不由人 2020-12-18 03:04

I have a complex object that contains sub-objects. I only want to validate the sub-object if a condition is set.

To strip this down to a super basic example, lets sa

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