If you open this sample http://docs.webix.com/samples/15_datatable/03_filtering/01_builtin.html with Firefox, and open select filter, text of options, are hidden.
I find the problem. In webix_debug.js it changed “selectFilter” method in version 2.2 respect to version 2.1.
//slow in IE
//http://jsperf.com/select-options-vs-innerhtml
var select = document.createElement("select");
for (var i = 0; i < data.length; i++){
var option = document.createElement("option");
option.value = data[i].id;
option.label = data[i].value;
select.add(option);
}
Problem is that …
option.label = data[i].value;
…generate this HTML tag…
<option label="1" value="hello world"></option>
…and inf Firefox doesn’t show correctly.
Solution is change it for…
option.text= data[i].value;
…and then, it generates this valid HTML tag
<option value="1">hello world</option>
Please, correct it at next release of Webix
Please grab version 2.2.1. It contains fix for the above regression and some other minor fixes.
Pro version is available in client’s area. GPL version can be downloaded from http://webix.com