var titleAndValue = "R & D";
var lv = new Fit.Controls.ListView();
lv.AddItem(titleAndValue, titleAndValue);
var item = lv.GetItemByValue(titleAndValue);
console.log("Value: ", item.Value); // BUG: returns "R%20%26amp%3B%20D" rather than "R & D"
An item retrieved using GetItemByValue(..) is returned with a Value property that seems URL encoded.
Consider the example below.
An item retrieved using GetItemByValue(..) is returned with a Value property that seems URL encoded.