All,
Is there a way we can achieve this in LWC combobox
I tried to insert HTML tag like <font color="Yellow">
for label but it fully rendering the HTML without parsing the HTML tag. I need to do in <lightning-combobox>
. can you please help?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityYou can't in the default implementation, but you can take the component code, which is open source, (https://github.com/salesforce/base-components-recipes/tree/master/force-app/main/default/lwc/combobox) and adapt it to your needs.