1

All,

Is there a way we can achieve this in LWC combobox

enter image description here

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?

1 Answer 1

2

You 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.

1
  • Thank You. Will try that. Aug 19, 2020 at 14:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .