After updating to webix 4.2.16, The selectDate function stoped working.
ex: calender.selectDate(new Date(minTime));
ps: It works with webix 4.1
Can you please provide your implementation or a code snippet that shows the issue? AFAICS, it works: http://webix.com/snippet/eae7a2f5
with webix 4.1 when you open the date picker it used to take you to the date specified in the selectDate method but with 4.2 it doesn't't work.
I see. We will investigate the issue, thank you for pointing this out!
I can confirm the change in logic, but it is not a bug. Normally, suggest list of a select control (and Calendar is a suggest for Datepicker) selects the value shown in the input field or just shows the current date without selection. So the bug was in version 4.1.
Now, to override the logic you can attach the handler to the onShow popup event:
var calendar = this.getBody();
calendar.selectDate(new Date(2017, 6, 6, 12, 13, 44), true);
Please, check the following snippet: http://webix.com/snippet/c3e2ffcb
Thanks Listopad and Helga for your support.
I got it working with the handler as suggested.
It looks like you're new here. If you want to get involved, click one of these buttons!