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

Allow setting a specific minute intervals on time picker #376

Open
minuz opened this issue Apr 3, 2024 · 2 comments
Open

Allow setting a specific minute intervals on time picker #376

minuz opened this issue Apr 3, 2024 · 2 comments

Comments

@minuz
Copy link

minuz commented Apr 3, 2024

Is your feature request related to a problem? Please describe.
My team is building a timesheet application and we have some use cases where we don't want to allow our users to pick precise minutes. In certain cases, we need to use 30 minutes increments and others 5 minutes and others will full precision. At the moment, it does seems like we have a way to control this.

Describe the solution you'd like
An optional prop such as minuteInterval?: number where the number would be used to display the time increments on the clock and only allow the user to select within that range. Should default to 1 as it currently is.

Describe alternatives you've considered
I haven't found any prop that could control this. It doesn't seems like we can override or extend the component to achieve this. If there is, please point me to the right direction!

@iM-GeeKy
Copy link
Collaborator

PRs are welcome!

Copy link
Contributor

Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.

@github-actions github-actions bot added the stale label May 22, 2024
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