ElemeFE / ElemeFE/element

[Bug Report] Form validation blocks submit with form-item bound to child object of form

Open
#20,716 1 comment 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.15.0

### OS/Browsers version
Chrome

### Vue version
2.6.12

### Reproduction Link
https://codepen.io/aldeng11/pen/MWjRXaM

### Steps to reproduce
Click submit button in codepen.
Required validation fails.
Enter text.
Click submit.

### What is Expected?
The form submits. Required section has been made.

### What is actually happening?
Form submits with failed validation. Form still shows invalid. If you bind el-input to ruleForm.name, it works. It fails if el-input bound to ruleForm.schema.name.

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.