ng-bootstrap / ng-bootstrap/ng-bootstrap
Allow setting for minutes to hour roll over feature.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.2k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Feature Request:
Provide a method to turn off incrementing/decrementing the hours field when the minutes field wraps around. For example, if the user enters 9 in the hours field and then click on the down spinner for the minutes field (so it goes to 45 for example), do not decrement the hours field to 8.
The most common use case for us is that the user works from left to right, so the user enters the hour and then the minutes, and is not expecting the minutes field to change the hours field.
Therefore we would very much like to have the option of turning this behavior off.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the timepicker implementation and the handling for minutes spinning across an hour boundary. Review any existing timepicker configuration or input APIs before deciding how the opt-out setting should be exposed. Done means minutes can wrap without changing hours when the option is disabled, while existing behavior remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, bootstrap, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100