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

fix: date picker input backspace #1571

Closed davidnixon closed 4 months ago

davidnixon commented 4 months ago

Contributes to #1574

What did you do?

Resolve question from slack

Developer tools in Google Chrome has an error when deleting the value of the CvDatePicker(kind = single) in the Backspace Key. (I'm using Windows, I haven't tried Mac) In this case, property bind v-model of CvDatePicker it will not be cleared for property, but appearance will be cleared. And the I think CvDatePicker Stroybook having the same problem. (similar errors will be displayed in the developer tools) Storybook : https://vue.carbondesignsystem.com/?path=/story/component-cvdatepicker--single-using-date

How have you tested it?

Add a v-model to the "single-using-date" story to facilitate testing

Were docs updated if needed?

davidnixon commented 4 months ago

I see from slack that with the provided fix the issue:

has been resolved in my local environment.