[Feature Request] Suggestion for optimizing form validation
Open
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Existing Component
Yes
### Component Name
Form
### Description
It must set the `prop` attribute to `el-form-item` component to make validation work. Like this:
```
```
I think `prop` attribute and `model` attribute are needless. It's more intuitive if we make this work.
```
export default {
data () {
return {
rules: { name: { required: true, message: 'name is required' } }
}
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.