Where Does the match Object in Typeahead Template Come From?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2024 11:02 PM
Hi Community,
I'm working on a custom widget for a ServiceNow catalog search. I'm using a typeahead template in the search source, and I came across this snippet:
html
I would like to understand:
- What is the match object?
- Where does it come from in the context of ServiceNow typeahead templates?
- How is it connected to the search sources?
For reference, I'm working with a search source in a ServiceNow Service Portal widget. Any guidance or documentation links would be greatly appreciated!
Thank you in advance for your help!
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2024 02:19 AM
Got the answer it is an single searched item on an search results before submission of query which is used to show typeahead search suggestions to users 😀