- Issue created by @dewalt
Searchbox widget doesn't find values with special symbols inside (&, ", ©, etc.)
Create term with "Milk & Honey" label, create facet and try to search for the label in the Searchbox widget. Starting from "Milk &" input the value isn't found.
The widget compares raw string from input with HTML encoded string from span element, actually it compares "Milk & Honey" with "Milk & Honey"
Use $.text() method instead of $.html() to get correct string value. It also allows to have sub-markup inside the label keeping search functionality, e.g. "Milk & Honey"
Active
3.0
Code