Skip to content

feat(ui5-time-picker): display-value and value-format properties are introduced#13071

Open
GDamyanov wants to merge 9 commits intomainfrom
timepicker-display-value-format
Open

feat(ui5-time-picker): display-value and value-format properties are introduced#13071
GDamyanov wants to merge 9 commits intomainfrom
timepicker-display-value-format

Conversation

@GDamyanov
Copy link
Contributor

@GDamyanov GDamyanov commented Feb 12, 2026

This PR introduces display-value and value-format properties to the ui5-time-picker component

Changes:

  • Added displayValue property for custom display formatting
  • Added valueFormat property for value parsing/formatting control
  • Updated TimePicker implementation to handle the new properties
  • Added sample demonstrating custom formatting

@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Feb 12, 2026

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 12, 2026 12:41 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 13, 2026 07:38 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 13, 2026 07:57 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 13, 2026 08:29 Inactive
@GDamyanov GDamyanov requested a review from hinzzx February 16, 2026 12:24
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 17, 2026 08:02 Inactive

<ui5-label for="tpLabel">Deadline</ui5-label>
<ui5-time-picker id="tpLabel"></ui5-time-picker>
<!-- <ui5-label for="tpLabel">Deadline</ui5-label>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please un-comment this file

<ui5-time-picker format-pattern="hh:mm"></ui5-time-picker>
<ui5-time-picker format-pattern="hh:mm:ss"></ui5-time-picker>
<ui5-time-picker format-pattern="hh:mm:ss a"></ui5-time-picker>
<ui5-time-picker value-format="hh:mm" display-format="hh:mm:ss a"></ui5-time-picker>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other minor thing is maybe we could use iSO format as a showcase for best practices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants