Skip to content

[DateTimePicker]: first key stroke on the input is ignored #13237

@VictorHumanist

Description

@VictorHumanist

Bug Description

In DateTimePicker, when the value is updated manually via keyboard input (not the selection pop-up), the first key press does nothing to the entered text, and the caret automatically moves to the end. Second and further key presses work as expected.

Affected Component

DateTimePicker

Expected Behaviour

Value in the input is updated

Isolated Example

https://ui5.github.io/webcomponents/play/#eNqFU21v0zAQ_iueP21V3aSDSpCmiLHBByREJcoHpHxx7WvjzbGj2OmLqv53zm6CMm2AYim-5-6ee_WJKiPhMCl9pWl2ooZXQLMhOKbCGg_GI5xfMUZqzY_bxrZGso3VkjD2oTD51cP3-9Wv5WcSnAIQ_kRzs10UFExBEQtfXgKXeCd4cuePGoIwyoz115mEjTIgb8gJMalcCJURYw3METgH_8gf9RvbCJBMWG0bxuVj6_wzW5InPX8QKvCciJI3Djym9HP1hb2LWXWqUDniOwX72ja-oKSrG8G9kr5cSNgpASwKY6KM8opr5gTXsJhO0o7MK48xf_Cq1pAnFwnLTrq68bq28khiaki95uKp62asJCM73lwz5nj96Y_qPmhu5qQEtS2xyreztD7Mu4CvzISB6eYSDFo1Y5J78KoCVivxBA3CO67bkMBXbsh0Oia36W06xlsWD7n7VtBLkyvuWc29h8agubZmGzWVMpH1BUWaZvH0FBU_DA3fDGPN3uMhy4thrCZ5Jduujr8uHy6SaFTtiT_WIUxlZasBJ-gaEUSuzOTRYbtwI6JhHEgYw2UgSb-z_2wlPY97qsFL6ZHhM0lGQ5ZSSSCjpDCqCotFCjpJBmrX1gGOCeLmvvSNGTzz_4g9SvawFhYRgzFdgo_FJ3cOd9uxDXhR9nz_dXrAXq-w18vY6osbPZ9_A4LyYSY

Steps to Reproduce

  1. Highlight "2020" in the input
  2. Press "4"

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

2.20.0

Browser

Chrome

Operating System

Windows 11

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions