ElemeFE / ElemeFE/element

[bug report] this. $refs [formname]. Validate (valid = >

Open
#18,591 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.4.5

### OS/Browsers version
Win10/ Chrome 版本 78.0.3904.108(正式版本) (64 位)

### Vue version
2.6.10

### Reproduction Link
https://codepen.io/YinXiaobo/pen/NWPwdWb

### Steps to reproduce
当form表单有自定义校验项,但是 callback() 漏写或者没有正确书写时,那么 this.$refs[formName].validate(valid => {}) 就不能正确执行,也没有报错提示。

### What is Expected?
希望在callback() 没有正确书写时,能给一个错误提示。

### What is actually happening?
希望在callback() 没有正确书写时,能给一个错误提示。

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.