Open djcm75 opened 8 years ago
This is how I've accomplished default values. Not ideal, but works.
var rangeDatepicker = new TpDatepickerRange({
legend: true,
roles: ['start-date', 'end-date'],
offsets: {top: 1, left: 0}
});
rangeDatepicker._showCallback('2016-3-15', 'start-date');
rangeDatepicker._showCallback('2016-3-20', 'end-date');
Hi, I have set the default value like $("#checkin").val('18-02-2016'), the value applies to the text field but when I click the input field the date is not selected or highlighted