Element: [Bug Report] 2.4.8 el-date-picker, when disabledDate is set, there is no choice of current day.

Created on 18 Oct 2018  ·  2Comments  ·  Source: ElemeFE/element

Element UI version

2.4.8

OS/Browsers version

WIN10/chromium63.0.3239

Vue version

2.5.17

Reproduction Link

https://jsfiddle.net/286rd1hp/5/

Steps to reproduce

当前示例为:可选择当日及当日以前的任意时间范围,但出现以下问题。
1、点击日期选择范围框,选择时间范围 从1日到当前日,会无法选择。
2、双击当前日,无法选择当前日。

What is Expected?

1、点击日期选择范围框,选择时间范围 从1日到当前日,可正确选择。
2、双击当前日,时间范围为当前日。

What is actually happening?

1、点击日期选择范围框,选择时间范围 从1日到当前日,可正确选择。
2、双击当前日,时间范围为当前日。

Most helpful comment

你需要准确指定下一日的时间。 https://jsfiddle.net/98vn5u0d/

All 2 comments

Translation of this issue:

Element UI version
2.4.8

OS/Browsers version
WIN10/chromium63.0.3239

Vue version
2.5.17

Reproduction Link
https://jsfiddle.net/286rd1hp/5/

Steps to reproduce
The current example is: you can choose any time range from the day and the day before, but the following problems arise.

1, click the date selection box, choose the time range from 1 days to the current day, will not be able to choose.
2, double-click the current date, unable to select the current day.

What is Expected?
1, click the date selection box, choose the time range from 1 days to the current day, you can choose correctly.

2, double-click the current day, the time range is the current day.
What is actually happening?

1, click the date selection box, choose the time range from 1 days to the current day, you can choose correctly.
2, double-click the current day, the time range is the current day.

你需要准确指定下一日的时间。 https://jsfiddle.net/98vn5u0d/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhguokai picture zhguokai  ·  3Comments

no5no6 picture no5no6  ·  3Comments

chao-hua picture chao-hua  ·  3Comments

fscardua picture fscardua  ·  3Comments

Zhao-github picture Zhao-github  ·  3Comments