pnp / pnp/sp-dev-fx-controls-react

Enhancement: DateTime Picker - have option to type in time instead of using dropdowns.

Open
#476 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:tracked type:bug type:enhancement
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[ x ] Enhancement

[ ] Bug

[ ] Question

Version

It would be helpful to have a time-picker version like the current out of the box Date-Time picker.
Basically, the time field can be clicked into and you can type the entire time, not splitting up hours and minutes into different boxes.

I also found the text version of this component to be flakey... specifically if I wanted to update a time and hit back-space enough times (more than 2) it changes the date field to be "invalid date" which could be frustrating for a user.

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Date-Time picker and the text version of the time control in the TypeScript React sources; no file or test is named in the issue. Read how the current dropdown and text inputs handle editing and invalid dates. Done means the requested typed-time option and the backspace behavior are specified and covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.