This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
Add `onlyWhen` rule
The onlyWhen
has a same syntax as reliesOn
, the only difference is, if the validation in onlyWhen
not pass, this field will be ruled out from validation even its value is wrong.