sumcumo / vue-datepicker

A datepicker Vue component. Compatible with Vue 2.x.
https://sumcumo.github.io/vue-datepicker/
Apache License 2.0
75 stars 22 forks source link

Cannot clear date value when typeable is true #142

Closed spetikala closed 2 years ago

spetikala commented 2 years ago

Hello all,

thank you for this very nice plugin.

I noticed that when I have a typeable date field and I clear it with the keyboard the value of the date remains the just deleted date. So basically the date never gets deleted/cleared.

I went through the issues here and found an example in #79 where this functionality with an older version works. I only added the refrence to the latest version for this example: https://codepen.io/spetikala/pen/qBpRajP

If you uncomment version "3.1.0" it will work but not with the latest one: grafik

Could you have a look please?

Thank you very much.

mst101 commented 2 years ago

Thanks for reporting this bug @thorstenschroeder. The issue you raised should be fixed as part of the fix for #133. This has been taking me a while, but I intend to submit a pull request soon...