Haixing-Hu / vue-datetime-picker

A Vue.js component implementing the datetime picker control using the Eonasdan's bootstrap datetime picker plugin.
http://haixing-hu.github.io/vue-datetime-picker/
MIT License
341 stars 77 forks source link

View Mode bug #28

Open goldfinch opened 7 years ago

goldfinch commented 7 years ago

Hi there,

If datetimepiker has option viewMode, for example:

viewMode: 'years'

and when you are trying to open popup to set a date, seems everything works fine, but if you'll try to open it again, the second time, you will see a difference in popup, like it would be without viewModel option.

kife-design commented 7 years ago

I have the exact same problem. the first time you open the datetimpicker, you see the years, the second time you open the picker, you see the normal view with the days