Skip to content

TimePicker shows invalid on 12hour lowercase delimiter #6665

@evwilkin

Description

@evwilkin

Describe the issue. What is the expected and unexpected behavior?
When lowercase text character(s) are used as a custom delimiter without the is24Hour prop the delimiter is made uppercase and throws an invalid error once the time is interacted with.

Please provide the steps to reproduce. Feel free to link CodeSandbox or another tool.

  1. Visit the Custom delimiter example, expand the code and remove the is24Hour prop.
  2. Click in the time picker field, notice the available selections include the lowercase h delimiter.
  3. Select a time, notice the delimiter changes to uppercase H and causes the invalid error to show.

Is this a bug or enhancement? If this issue is a bug, is this issue blocking you or is there a work-around?
Bug

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions