You will not be able to use html inside field label/custom label. eariler this was possible but salesforce stopped supporting this sometime back. i dont know why but its no more possible. I too tried to use this and after sometime going through different post realized that its no more supported
Can you give me an example snippet. I tried using span in Custom label as below:
and tried fetching in my lightning page: <lightning:select class="inputWidth slds-p-bottom_small" value="{!v.state}" label="{!$Label.c.State}" name="State" aura:id="state" onchange="{!c.onStateChange}">
But its not working for me.
I have tried using <Font> tag also. it also didnt work.
You will not be able to use html inside field label/custom label. eariler this was possible but salesforce stopped supporting this sometime back. i dont know why but its no more possible. I too tried to use this and after sometime going through different post realized that its no more supported
All Answers
use format() with labels and update the * in-between span tag .. change the styles to span tage
Can you give me an example snippet.
I tried using span in Custom label as below:
and tried fetching in my lightning page:
<lightning:select class="inputWidth slds-p-bottom_small" value="{!v.state}" label="{!$Label.c.State}" name="State" aura:id="state" onchange="{!c.onStateChange}">
But its not working for me.
I have tried using <Font> tag also. it also didnt work.