function onUiSelectorChange() { } class UISelector extends UIContainer { init() { this.root.empty(); this.root.addClass("noMarginBottom") this.init_select(); this.update(); this.compteur=0; } init_select() { var t = this; var size=(this.size)?this.size:12; var r = HTMLBuilder.rootElemDiv(size); var nsize=12; if(this.facultative) nsize-=4; var data = { type: this.type, id: this.rootId+'_cb', size: nsize, label: this.placeholder }; var prop ={ multiple: this.multiple?"":undefined }; var options = []; for(var i=0; i