ankurk91 / vue-bootstrap-datetimepicker

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

Date range #43

Closed EugeneBalabai closed 6 years ago

EugeneBalabai commented 6 years ago

Tell about your platform

Problem I want to use 2 datepicker for date range. But I have error n.maxDate.isBefore is not a function when I select one of date(begin or end of range) I use Option as Computed property, max and min date is Computed property too

My code https://jsfiddle.net/jkgs2c8o/16/

Where is problem?

ankurk91 commented 6 years ago

Someone asked same question today - https://github.com/ankurk91/vue-bootstrap-datetimepicker/issues/42

You should use @dp-change.

EugeneBalabai commented 6 years ago

Thanks

If I use inline mode for datepicker, @dp-change is very slowly and I have some trouble because of this. Example https://jsfiddle.net/w99v77k4/29/ Is there a way to fix this? or another way to do date range

ankurk91 commented 6 years ago

I see it is slow. Unfortunately there is nothing I can do with it. This Vue component is using a jQuery based plugins behind the scenes. The underlying library has been abondended by the maintainer.

I am also going to stop development on this package soon. There is nothing left with this package.