ghiscoding / Aurelia-Bootstrap-Plugins

Aurelia-Bootstrap-Plugins are Custom Elements to bridge with a set of 3rd party Bootstrap addons
https://ghiscoding.github.io/Aurelia-Bootstrap-Plugins
MIT License
45 stars 23 forks source link

Adding showClear: true option returns Invalid date when trying to clear #15

Closed codeflowee closed 7 years ago

codeflowee commented 7 years ago

Currently there is a bug when clearing an input value, when I first choose a date from calendar and then try to clear, it returns first Invalid date, after focusing out and then focusing input again it seem to clear it.

ghiscoding commented 7 years ago

Can you tell me the error shown in the console? It might be related to #13 which I will review in the weekend (tomorrow)

ghiscoding commented 7 years ago

Could you also tell me the code you use to clear. Are you clearing with the model.bind or the value.bind and is just a null that you send to clear?

ghiscoding commented 7 years ago

This should be fixed now with the suggestion provided in #14. Please update to latest NPM version 1.0.8

If it's still an issue, please provide more details or open another issue. Thanks