Skip to content
This repository has been archived by the owner. It is now read-only.

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

Closed
cyzeng-Luca opened this issue Aug 3, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@cyzeng-Luca
Copy link

commented Aug 3, 2017

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

  • eonasdan-bootstrap-datetimepicker version : 4.17.47
  • Vue.js version : 2.4.2
  • Browser name and version : Chrome
  • This package version : 2.4.3

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 ankurk91 added the bug label Aug 3, 2017

ankurk91 added a commit that referenced this issue Aug 3, 2017

@ankurk91 ankurk91 changed the title about delete vaule [bug] v-model parameter must be one of [null, string, moment or Date] Aug 3, 2017

@ankurk91

This comment has been minimized.

Copy link
Owner

commented Aug 5, 2017

This has been fixed in v3.0.0

@ankurk91 ankurk91 closed this Aug 5, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.