angular / angular/components

feat(timepicker): allow input to be of type time with its native placeholder support

Open
#31,497 0 comments 1 reaction 0 assignees View on GitHub
feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Feature Description

Automatically add `:` like normal `` does,
or let user use the `type="time"` with the input.

### Use Case

Actually, we can type anything into the input, so the user may not understand that he has to enter `:` after the second character.

The way the native time picker works seems more intuitive.

Contributor guide

Open the contributing guide

Research direction

Locate the timepicker input implementation and its existing tests, then compare the current text-entry behavior with a native input of type="time". Determine whether the accepted change is automatic colon insertion, support for the native input type, or both; done means the chosen behavior is covered by tests and is intuitive for users.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.