jquery-flexdatalist icon indicating copy to clipboard operation
jquery-flexdatalist copied to clipboard

Highlighting doesn't work when searchDisabled set to true

Open bridgeport opened this issue 7 years ago • 2 comments

I have searchDisabled set to true and I'm retrieving JSON results using the API url option where the results are already filtered. Unfortunately, the script isn't highlighting any of the values.

There's a reference to an earlier issues where someone reported the same thing here: https://github.com/sergiodlopes/jquery-flexdatalist/issues/59 but you marked it as fixed in v2.0.0.

I'm using v2.2.0 and it isn't highlighting. I checked the rendered HTML markup and the wrapping highlight span tags aren't being added.

Thanks in advance.

bridgeport avatar Sep 06 '17 00:09 bridgeport

Hi,

Yeah, there's a problem. I'll work it out on next release. Until then, I suggest you to pass on the searched string with the highlight HTML on to flexdatalist (better on a different property, and show only that one in visibleProperties).

Thanks! Sérgio

sergiodlopes avatar Sep 06 '17 10:09 sergiodlopes

I use the searchDisabled option and take the data from the server flexdata

How to get this result? How to make bold text? flexdata2

Yeleup avatar Nov 17 '17 09:11 Yeleup