material-components / material-components/material-components-android
[TimePicker] can not type in specific value in hour and minute field
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** https://m3.material.io/components/time-pickers/guidelines#9abf67ef-7f88-4976-961d-3f8a43de5f25:
> There are two primary methods for selecting time with the mobile time picker. People can:
> - Type in a specific value in the hour and minute field
> - Select the hour or minute field from the text input and adjust the clock dial to simultaneously change the corresponding time field above
But, we can not type in a specific value in the hour and minute field.
**Expected behavior:** We can type in a specific value in the hour and minute field. Or update the spec.
**Minimal sample app repro:** Catalog app (TimePickerMainDemoFragment)
**Android API version:** 34
**Material Library version:** 1.12.0-alpha02
**Device:** Emulator 32.1.15 (API 32)
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 with the Catalog app's TimePickerMainDemoFragment and reproduce the issue on the stated API and Material Library versions. Trace the TimePicker hour and minute fields to determine why direct value entry is unavailable; done means users can type specific values, or the component's documented behavior is updated if that is the chosen resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100