calendar icon not shown after extending datepicker with protoUI

Hi,

I just found the issue of subject when playing protoUI.

Please check sample below, you can see new datepicker has no calendar icon:

https://snippet.webix.com/uqq7nufs

Regards
Wicky

Tagged:

Comments

  • edited December 2018

    you need to provide required $cssName

    webix.protoUI({
            name: 'newdatepicker',
            $cssName: "datepicker"
        }, webix.ui.datepicker);
    

    https://docs.webix.com/desktop__custom_component.html#acustomcomponent

  • Thanks intregal! You helped me!

    BTW, could you give me some hints how to cutomized the datepicker?

    I would like to change the datepicker value to julian date number.

    All functions are same as datepicker, just the value sent to server is changed to a number.

    I tried to override getValue, setValue but seems break text value on UI.

    Regards
    Wicky

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!