element-plus [Component] [form] validate-on-rule-change = false => not work

wswtfjt7  于 5个月前  发布在  其他
关注(0)|答案(3)|浏览(163)

Bug Type: Component

Environment

  • Vue Version: 3.2.45
  • Element Plus Version: 2.2.27
  • Browser / OS: macos
  • Build Tool: Vite

Reproduction

  • el-form

CodeSandbox

Steps to reproduce

:validate-on-rule-change="false"

What is Expected?

fix it please or have a solution?

What is actually happening?

it also validate

Additional comments

(empty)

zsohkypk

zsohkypk1#

Hello, sorry I didn't understand what you meant. If you want to not trigger validation after calling the resetFields method, you can update the element-plus version, here is an example.

djmepvbi

djmepvbi2#

I don't want it to validate when changing values. I want to customize. (:validate-on-rule-change="false")

luaexgnf

luaexgnf3#

If you want to customize the rules, you can refer to the official website,You can click this example to view

相关问题