Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timepicker 无法选择 00:00 #676

Closed
aguegu opened this issue Oct 27, 2016 · 3 comments
Closed

timepicker 无法选择 00:00 #676

aguegu opened this issue Oct 27, 2016 · 3 comments
Milestone

Comments

@aguegu
Copy link

aguegu commented Oct 27, 2016

ElementUI version

1.0.0-rc.7

OS/Browers version

macOS/Chrome 55

Vue version

2.0.3

Steps to reproduce

<el-time-select placeholder="起始时间" v-model="detail.startTime" :picker-options="{ start: '00:00', step: '00:15', end: '24:00' }"></el-time-select>

What is Expected?

00:00 应该可以选的上吧,但目测被 disable 了。
某种意义上来说,00:00 是比 24:00 看起来更“政治正确”的时间,不过“24:00”是可以显示得出来的,而且没有被 disable 。

What is actually happening?

screen shot 2016-10-27 at 15 53 50

@devrsi0n
Copy link

24:00 应该就是00:00吧?换成
{ start: '00:00', step: '00:15', end: '23:45' } ?

@aguegu
Copy link
Author

aguegu commented Oct 27, 2016

@devrsi0n 一样的,不管 end 是什么,只要 start 设为 “00:00”,就是能显示,但是不能选。你自己试咯。

@QingWei-Li QingWei-Li added this to the 1.0.0-rc.8 milestone Oct 27, 2016
QingWei-Li added a commit to QingWei-Li/element that referenced this issue Oct 27, 2016
@aguegu
Copy link
Author

aguegu commented Nov 18, 2016

@QingWei-Li 这个bug真的 fix 了么?在 1.0.0 还是这样啊

QingWei-Li added a commit to QingWei-Li/element that referenced this issue Nov 18, 2016
baiyaaaaa added a commit that referenced this issue Nov 18, 2016
TimeSelect: fix 00:00 is disabled, fixed #676
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants