Service Portal widget and highlighting
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 03:28 AM
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