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] Disable Minutes Picker #5242

Closed
lmuntaner opened this issue Sep 23, 2016 · 4 comments
Closed

[TimePicker] Disable Minutes Picker #5242

lmuntaner opened this issue Sep 23, 2016 · 4 comments
Labels
component: time picker This is the name of the generic UI component, not the React module! v0.x

Comments

@lmuntaner
Copy link

Description

We have a use case where we want the user to only select an hour, but not the minutes.

We could just ignore the minutes, but it's not very user friendly since they will be choosing something that we will be ignoring.

Proposal

I can make a PR and work on it since it's necessary for own current development. However I wanted first to check with the maintainers whether the feature would be welcome.

The implementation could be as simple as:

<TimePicker format="24hr" disableMinutes={ true } />

The property disableMinutes would be false by default.

Thanks! 😸

@oliviertassinari oliviertassinari added the component: time picker This is the name of the generic UI component, not the React module! label Oct 12, 2016
@oliviertassinari oliviertassinari added component: time picker This is the name of the generic UI component, not the React module! and removed component: time picker This is the name of the generic UI component, not the React module! labels Nov 15, 2016
@atlanteh
Copy link

We need this too!

@oliviertassinari
Copy link
Member

Closing for #4796

@estepanek
Copy link

Can someone please tell me if it was ever decided to add the Disable Minutes capability?

@mowais-ac
Copy link

had it been added?

@mui mui locked as resolved and limited conversation to collaborators Jun 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: time picker This is the name of the generic UI component, not the React module! v0.x
Projects
None yet
Development

No branches or pull requests

5 participants