duetds / date-picker

Duet Date Picker is an open source version of Duet Design System’s accessible date picker. Try live example at https://duetds.github.io/date-picker/
https://www.duetds.com
MIT License
1.73k stars 68 forks source link

e.getDate is not a function #97

Open mununki opened 3 years ago

mununki commented 3 years ago

Describe the bug Inputting the date directly into the input.duet-date__input causes the unhandled error exception.

Unhandled Runtime Error
TypeError: e.getDate is not a function

To Reproduce Steps to reproduce the behavior:

  1. Click the input to focus in order to input the date directly
  2. Hit the backspace key twice to remove the date

Expected behavior The date string should be processed to be parsed in js Date.

Desktop (please complete the following information):

stevenbriscoeca commented 2 years ago

Did you ever found a fix?