I have a rather complicated gallery filter that works nicely. I needed the input text (ContentDesSearch) to be highlighted in my results. Only way I could achieve this without breaking my gallery was to make my regular output labels transparent, then add an HTML text label over the top of each one:
Replace(
ThisItem.'Content Description',
Find(
Upper(ContentDesSearch.Text),
Upper(ThisItem.'Content Description')
),
Len(ContentDesSearch.Text),
"<span style=""color:#12BDB3"">" & ContentDesSearch.Text & "</span>"
)
This seemed to work great, except now I am seeing some weird glitchy issues.
Sometimes the HTML text label shows nothing. And if i just backspace my search text and retype it exactly the same they will show up.
Sometimes in a column that is supposed to be blank, it shows "Show your HTML text here".
This image show both issues. "Show your HTML text here" in what should be a blank field, and also the HTML text label showing nothing when the regular transparent label beneath it clearly containing text (which I highlighted)
Help!

Report
All responses (
Answers (