carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
597 stars 176 forks source link

<cv-date-picker> Throws error if selected date is cleared #1574

Closed krko12345 closed 3 months ago

krko12345 commented 4 months ago

Detailed description

Describe in detail the issue you're having.

When the date-picker has the date selected, and you try to clear the value with the Backspace on keyboard, it throws error:

image

Is this a feature request (new component, new icon), a bug, or a general issue?

issue

Is this issue related to a specific component?

CvDatePicker

What did you expect to happen? What happened instead? What would you like to see changed?

Expecting it to remove the date value without throwing error

What browser are you working in?

Edge

What version of the Carbon Design System are you using?

3.0.12

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

Steps to reproduce the issue

  1. Step one
  2. Step two
  3. Step three
  4. etc.

Additional information