JS to change color on template merge field text

edited November 2017 in Questions
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}} — <font color="red">OFF LIMITS </font> — {{/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!


  • edited November 2017

    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?
Sign In or Register to comment.