ElemeFE / ElemeFE/element

[bug report] if the fixed attribute exists in the dynamic form, the form validate event will be triggered multiple times

Open
#19,419 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.13.1

### OS/Browsers version
macOS / 81.0.4044.138

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/shujiawu/pen/ExVeEMJ

### Steps to reproduce
动态表单中表格如果存在fixed属性的列,调用表单的validate方法,validate事件会被触发多次。具体表现为多一个fixed属性的列则多一次触发。

具体可以查看 https://codepen.io/shujiawu/pen/ExVeEMJ ,正常点击【提交】按钮,应该只有一个message,但是实际上却出现多个。

### What is Expected?
一个需要校验的字段,当校验不通过时,validate事件只触发一次。

### What is actually happening?
validate事件只触发多次。

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.