vue-datepicker icon indicating copy to clipboard operation
vue-datepicker copied to clipboard

How disable past time?

Open riaydh06 opened this issue 7 years ago • 1 comments

I try to disable before 10:34 time. But I can't .
limit: [{}, { type: 'fromto', //from: new Date(new Date() -1 * 86400000), from: '2017-11-18 10:34', to: '2040-02-20' }],

riaydh06 avatar Nov 19 '17 04:11 riaydh06

There is wrong info in documentation. "limit" must be Array, so u have to do it this way limit: [ { type:'fromto', from:'2018-03-1', to:'2018-03-30' } ],

TurningTide avatar Mar 19 '18 21:03 TurningTide