[Enhancement] [date-time-picker] DateTimePicker的属性default-time支持动态配置 #24408
pandawyt
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature type:
EnhancementDetails
date-time-pickerDescription
el-date-picker设置type为
datetimerange时,目前default-time只能设置固定的默认值,比如['00:00:00', '23:59:59'],希望可以动态设置,支持响应式。比如:回显日期是 ['2024-09-04 18:15:22', '2038-01-01 23:59:59']
1、用户在选择时,只是想修改日期而不修改时分秒,但目前功能导致确定后,时分秒变成'00:00:00'或其他固定值。但用户想保持['xxxx-xx-xx 18:15:22', 'xxxx-xx-xx 23:59:59']
2、如果修改了时分秒,比如改成['xxxx-xx-xx 01:02:03', 'xxxx-xx-xx 04:05:06'],那下次只修改日期时,时分秒还是固定成'01:02:03'和’04:05:06'
Additional comments
(empty)
0 votes ·
Beta Was this translation helpful? Give feedback.
All reactions