-
Notifications
You must be signed in to change notification settings - Fork 280
Labels
Description
Bug Description
If the ui5-datetime-picker
has a selected value—for example, 13/04/2020, 03:16:16 AM
—and an invalid value is then entered followed by selecting a new value from the picker, the time is not set correctly.
It is set to 12:00:00 AM
Affected Component
ui5-datetime-picker
Expected Behaviour
When a value is selected from the picker, the time should default to the previously used time—unless explicitly changed via the time picker. In this case, it should retain 03:16:16 AM
as the time.
At least, that's what the test expects and how it behaves in OpenUI5.
Isolated Example
https://sap.github.io/ui5-webcomponents/nightly/packages/main/test/pages/DateTimePicker.html
Steps to Reproduce
- In the second
ui5-datetime-picker
select all text and writeinvalidvalue
- Press tab
- Open picker of the second
ui5-datetime-picker
- Select any date
- Observe that the time is set to 12:00:00 AM
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
nightly
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress