ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

[feature request] datetimepicker date time selector. Datetimerange mode. Can a switch be added? When two dates are selected and the confirm button is clickable, the user clicks the external close button to automatically confirm #18647

Open xiaogaofudao opened 4 years ago

xiaogaofudao commented 4 years ago

Existing Component

Component Name

DateTimePicker

Description

DateTimePicker 日期时间选择器。datetimerange 模式。能否加个开关,当选中两个日期,确定按钮可点击时,用户点击外部关闭,自动确定选中日期。用户好不容易选好了,没注意到右下角的确定按钮。点击外部关闭,之前的输入都没有了

element-bot commented 4 years ago

Translation of this issue:

Existing Component

yes

Component Name

DateTimePicker

Description

Datetimepicker date time selector. Datetimerange mode. Can a switch be added? When two dates are selected and the confirm button is clickable, the user clicks external close to automatically determine the selected date. The user did not notice the confirmation button in the lower right corner. Click external close, no previous input

xiaogaofudao commented 4 years ago

datetimerange 这种模式。很多年纪大的客户提出不是很好用。客户点击一个日期的时候,时间选择是禁用的。需要两个日期都确定的情况下,才可以选择时间。建议改为,选择第一个日期,第一个日期的时间选择状态可选。第二个日期确定了,第二个时间选择可选。如果没有日期选中,时间选择控件则为禁用状态。

xiaogaofudao commented 4 years ago

如果日期时间都选择完了,确定按钮可点击。用户点击外部关闭时,建议也强制保留输入的日期(相当于自动点击确定按钮)

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.