Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Service Portal widget and highlighting

goller
Tera Contributor

Heya!

I've made a Service Portal search widget, to list tasks based on results from a search text input field. 

 

In HTML:

I have a searchfield, <input ng-data.searchText>
I show the results the server script with a <ng-repeat="item in data.items"> 

for example -> {{item.number.display_value}}


In the server script: 
I populate an array with the results, called data.items.


This is all working well, but now I am looking to highlight in yellow, the text containing the searchText query in {{item.number.display_value}}, anyone know a way to do that?

Thanks,
goller

0 REPLIES 0