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

calendar组件禁止选未来时间 #416

Closed
u1zz opened this issue Jul 21, 2016 · 1 comment
Closed

calendar组件禁止选未来时间 #416

u1zz opened this issue Jul 21, 2016 · 1 comment

Comments

@u1zz
Copy link

u1zz commented Jul 21, 2016

calendar组件有个属性disable-past可以禁止选过去的时间, 是否考虑增加个属性禁止选未来的时间呢? 或者start-dateend-date能和value一样传入关键字TODAY来表示当日.

虽然自己计算出当日的日期赋值给end-date, 也能满足需求, 不过没有组件直接提供来的方便

@airyland
Copy link
Owner

可以。这个没什么开发成本,下个版本支持。

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

2 participants