ElemeFE / ElemeFE/element

The check box in [bug report] tree triggers async validator, causing an exception to be thrown when calling resetfields()

Open
#20,685 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.14.1

### OS/Browsers version
Windows 10

### Vue version
2.6.12

### Reproduction Link
https://github.com/ElemeFE/element/issues/new/choose

### Steps to reproduce
封装一个 TreeSelect,需要与 FormItem 联动校验,现在在 resetFields 事件中触发了 Tree 中 Checkbox 组件,而 Checkbox 的 change 事件又触发了校验,引发了异常。

### What is Expected?
Tree 中 Checkbox 组件点击不触发 validator

### What is actually happening?
Tree 中 Checkbox 组件点击触发了 validator

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.