ElemeFE / ElemeFE/element

关于表单数字,日历的类型校验问题

Open
#19,315 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
windows

### Vue version
3.0.0-beta.6

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

### Steps to reproduce
1 任意非必填的数字或者日期类型,初始值为空
2 提交提示类型错误

虽然自定义的校验规则可以实现,但是上述行为是非常常用的表单行为,如果通过自定义来设置,显得太麻烦

### What is Expected?
希望做一个初始值的类型处理,不必通过自定义的校验规则绕弯路实现

### What is actually happening?
该正常的行为必须通过自定义校验规则实现,显得很麻烦

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.