element
element copied to clipboard
[bug report] El time picker: picker options are not valid when using is range time range
Element UI version
2.13.0
OS/Browsers version
WIN10/Google Chrome 版本 84.0.4115.5(正式版本)dev (64 位)
Vue version
3.0.0-alpha.11
Reproduction Link
https://jsfiddle.net/6Lb3s0z9/2/
Steps to reproduce
<el-time-picker v-model="amStartEndTime" :picker-options="{ selectableRange: ['00:00:00 - 12:59:59', '00:00:00 - 12:59:59'] }" format="HH:mm" is-range value-format="HH:mm:ss" placeholder style="width:100%;" @change="changeAmTime" />
:picker-options="{ selectableRange: ['00:00:00 - 12:59:59', '00:00:00 - 12:59:59'] }"限制无效
What is Expected?
The time selector can disable the selection from 13:00:00 to 23:59:59 该时间选择器可以禁止选择13:00:00 - 23:59:59
What is actually happening?
There are no restrictions on the optional time range 对可选时间范围没有做任何限制
Translation of this issue:
Element UI version
2.13.0
OS/Browsers version
Win10 / Google Chrome version 84.0.4115.5 (official version) dev (64 bit)
Vue version
3.0.0-alpha.11
Reproduction Link
https://jsfiddle.net/6Lb3s0z9/2/
Steps to reproduce
<el-time-picker
v-model="amStartEndTime" :picker-options="{
selectableRange: ['00:00:00 - 12:59:59', '00:00:00 - 12:59:59'] }
format="HH:mm" is-range
value-format="HH:mm:ss" placeholder
style="width:100%;" @change="changeAmTime"
:picker-options="{ selectableRange: ['00:00:00 - 12:59:59', '00:00:00 - 12:59:59']
}"Invalid restriction
What is Expected?
The time selector can disable the selection from 13:00:00 to 23:59:59 The time selector can disable the selection of 13:00:00 - 23:59:59
What is actually happening?
There are no restrictions on the optional time range
There are no restrictions on the optional time range
Same issue here.
Yeah, seeing the same issue here.
这个问题该怎么解决。版本:2.13.0,options无效 :picker-options="{ step: '00:15' }"
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.
I have the same problem
I have the same problem
ping
same problem, any update on this issue?
same problem, any update on this issue?
遇到同样的问题,难搞啊