ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Cannot read property 'getHours' of null

Open uweku opened this issue 5 years ago • 1 comments

Describe the bug "Cannot read property 'getHours' of null" is raised by DateTimePicker

To reproduce

  1. Go to https://sap.github.io/ui5-webcomponents/playground/components/DateTimePicker/
  2. Go to section "DateTimePicker with format-pattern"
  3. Clear & enter "123" into first input field (invalid timestamp)
  4. Pick a valid time stamp from date picker

Expected behavior Manual timestamp selection shall not fail

Screenshots image

Context

  • Chrome Browser
  • current version of https://sap.github.io/ui5-webcomponents/playground/components/DateTimePicker/

uweku avatar May 01 '21 20:05 uweku

Hello @SAP/ui5-webcomponents-topic-b,

The issue can be reproduced in the playground & with the latest master version.

fifoosid avatar May 05 '21 09:05 fifoosid