Focus-bug with datepicker

I have a form with a checkbox and a datepicker. Then some code to enable the datepicker, if the checkbox is not checked. This code is called whenever the value of the checkbox changes, to dynamically en-/disable the datepicker.

But I found that if the datepicker is NOT editable (editable: false}, it will still recieve focus, even if it is disabled. I cannot select any date for it, as expected, but it is still focused when tabbing through the form.

If it is editable {editable: true}, it will be removed from the taborder, when it is disabled, and reinserted when again being enabled.

(Using webix 3.0.1)

Hi, I can confirm the issue.

As quick solution, you can patch the datepicker like next

http://webix.com/snippet/b0c1995f

Thanks for the help!