ankurk91 / vue-bootstrap-datetimepicker

Vue.js component for eonasdan bootstrap datetimepicker
MIT License
223 stars 66 forks source link

[bug] v-model parameter must be one of [null, string, moment or Date] #4

Closed cyzeng-Luca closed 7 years ago

cyzeng-Luca commented 7 years ago

I'm submitting a ... (check one with "x")

[ x ] Bug report => search github for a similar issue or PR before submitting
[ ] Feature request
[ ] Other, please describe

Tell about your platform

Current behavior

image image

i set config showClear: true, but the callback return e.date = false ,when i click it on trash icon , the v-model parameter must be one of [null, string, moment or Date]" . it return false in fact

Expected behavior return null or ''

ankurk91 commented 7 years ago

This has been fixed in v3.0.0