JS to change color on template merge field text

Hi according to this post response from Skuid,


There might be a way to use the custom renderer to set the field.options.searchTemplate = ‘{{Name}} {{#Active_Off_Limits_Count__c}} — OFF LIMITS — {{/Active_Off_Limits_Count__c}}’;

But the style does not take effect.

I only want to add the style in the fuzzy lookup results drop down.

Do you have an example? Thanks!


Can you please post an image of what the results of your search template look like and a mock up image of what it would ideally look like?