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 not to block whole hour when using unselectable-times by default. #2684

Closed
franciscoh017 opened this issue Jul 16, 2020 · 0 comments

Comments

@franciscoh017
Copy link
Contributor

Description

While using granularity for the minutes and trying to create a scheduler functionality on an app i'm working on, i found out that when adding an hour on the unselectable-times, the whole hour is blocked and the only way to unlock the hour is to try to find out which minutes from that hour is available by selecting them from the minutes drop down.
image
image

As an user i would like the hour to be blocked only if all the minutes of that hour are included in unselectable times, taking in account the granularity. However, if there are still available minutes from that hour at least i would like a programable way to enable or disable it.

See codepen below:
https://codepen.io/franciscoh017/pen/YzwLNdM?editors=1010

Why Buefy need this feature

I would make more sense in terms of usability for the users to be locked out from the hours after all the minutes of that hour are unselectable. Also, users tend to select hout first by the way the component elements are sorted.

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

1 participant