about defaultDateDelta?
Closed this issue · 2 comments
jinhang commented
defaultDateDelta
Fill in the second date value with the specified range when the users selects the first date. Value is in days. Set this to null to disable automatically setting the second date.
var basicExampleEl = document.getElementById('basic-date');
var datepair = new Datepair(basicExampleEl);
datepair.defaultDateDelta = null;
datepair.defaultTimeDelta = null;
it is no effect about it.
jinhang commented
var datepair = new Datepair(basicExampleEl, {
'defaultDateDelta': null,
'defaultTimeDelta': null
});
it is no effect
jonthornton commented
Sorry, I'm not able to reproduce this. Can you post a jsFiddle that demonstrates the problem?