Issue migrating from webix 3.1.2 to 3.2.4

Hi,

We tried to migrate to latest webix and read the changes in the site but some strange issue has occured. We have a form where we use bottomLabel and we change its value based on the value of a form control (counter widget) as below:

{view:"counter", name:'frmReqFld_Len', id:"frmReqFld_Len", label:"Field Length", step:1, value:1, min:1, max:100000,
	on:{
		onChange:function(newv, oldv){
			if ($$("frmReqFld_FieldType").getValue() == 4 && newv >9999) {
                                //console.log("Im in!");
				$$("frmReqFld_Len").define("bottomPadding",35);
				$$("frmReqFld_Len").define("bottomLabel", "Unlimited repetitions");
				$$("frmReqFld_Len").refresh();
			} else {
				$$("frmReqFld_Len").define("bottomPadding",15);
				$$("frmReqFld_Len").define("bottomLabel", "");
				$$("frmReqFld_Len").refresh();
			}
	         }
        }
}

Screenshot with webix 3.1.2:
http://s30.postimg.org/ou7mzjpn5/3_1_scr.png

Screenshot with webix 3.2.4:
http://s28.postimg.org/f56nz9bwt/3_2_scr.png

With help of console.log found out that code block executes so there in both cases. so it has something to do with the bottomLabel. In addition, managed to get old behaviour by replacing webix.css with webix.css from 3.1.2 version. This is a
company project and we need to be consistent and avoid such things. Would appreciate any help or other solution than replacing webix.css with an older one.

Thank you

Hi, I can confirm the regression.

The oncoming Webix 3.3 will provide the setBottomText API, which will resolve the issue. You will be able to use

{view:"counter", name:'frmReqFld_Len', id:"frmReqFld_Len", label:"Field Length", step:1, value:1, min:1, max:100000,
    on:{
        onChange:function(newv, oldv){
            if ($$("frmReqFld_FieldType").getValue() == 4 && newv >9999) {
                this.setBottomText("Unlimited repetitions", 35);
            } else {
                this.setBottomText("");
            }
         }
      }
}

Thank you very much! Migrated the code to webix 3.3 now! Can you help me with a new issue I have here? :slight_smile:

http://forum.webix.com/discussion/6883/scrolling-gridsuggest-datatable-in-a-richselect#latest