@@ -146,7 +146,7 @@ function nbInit(a,b){
return;
}
if (!keyExists){ //default logic: set text or value to data value
- item["value" in item ? "value" : "innerText"] = value;
+ item[("value" in item) && item.tagName !== 'LI' ? "value" : "innerText"] = value;
else {
item.innerText = value; // do not try to overwrite value on option nodes