Closed KorzhovDmitry closed 6 years ago
What if you pass moment()
as maxDate ?
Can you fork this jsfiddle and setup your code there ? https://jsfiddle.net/ankurk91/zupazg2u/
I create example with comments. https://jsfiddle.net/daruqe05/10/
This is not working in original datepicker also. Here is the jsfiddle that is not using vue.js
I'm submitting a Bug report
Tell about your platform
Current behavior When set config option "maxDate" to current date like
maxDate: new Date()
button "Go to today" dont change date to current date.Expected behavior Button "Go to today" change date to current.
Way to avoid this behavior If i set "maxDate" like
maxDate: new Date().setHours(23, 59, 59, 999)
button works fine, but i think its a tricky way. May be need do checks in plugin?