ElemeFE / ElemeFE/element

[Bug Report] Date Picker does not format date on tab blur

Open
#18,786 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.13.0

### OS/Browsers version
Windows 10, Chrome Version 79.0.3945.130

### Vue version
2.6.11

### Reproduction Link
https://jsfiddle.net/gsrezfuo/4/

### Steps to reproduce
- focus date picker
- type date in format of "MMddyyyy"
- press tab key

### What is Expected?
The date provided in format MMddyyyy gets formatted to MM/dd/yyyy and the value is emitted .

### What is actually happening?
After blur the datepickers input box is cleared and the mound value is null. The date no longer gets formatted into date string "MM/dd/yyyy" after pressing tab. Upon updating from 2.8.2 to 2.13.0 this functionally is now gone.

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.