In el-form: can rules be dynamically bound?

can the rules in

el-form be dynamically bound?
the fields defined in the form control whether they are displayed or not according to different conditions, and these fields need to be validated. How to set them dynamically: rules?

Mar.02,2021

if your fields are displayed with v-if, even if rules, is configured, it will not be checked when hidden, so there is no need to dynamically configure rules

Menu