https://webix.com/snippet/5f36f594
custom $setValue function not working. why?
but next code work
https://webix.com/snippet/600d8ffc
text ui first, working… why?
https://webix.com/snippet/5f36f594
custom $setValue function not working. why?
but next code work
https://webix.com/snippet/600d8ffc
text ui first, working… why?
this is because of webix protoUI logic.
you must not create a new type with existing name. as it will not extend the existing type and will be removed on the first call to original type. that’s why the latter snippet works.
“richselect” is subclass of “text”, therefore calls superclass on init.