How do I add html attributes to webix components?

Suppose I have a datepicker and I want to add a name=“myDatePicker” to the input field. How do I do this?

picker.getInputNode().setAttribute("name","value");

or
https://docs.webix.com/api__link__ui.datepicker_attributes_config.html

you need to set editable:true to have input tag rendered.

Using the attributes property worked, but using getInputNode() did not. getInputNode() is returning undefined.

getInputNode() is returning undefined
check this
https://snippet.webix.com/estuj2yn

Thank you for the sample, I found the issue in my js file it now works as you have shown.