I am not sure what is happening behind this $Label line:

<aura:component controller="CommunityHoldingDetailController" >
    <aura:attribute name="holding" type="Holding__c" required="true" />
    <aura:attribute name="showDetail" type="boolean" default="true" />
    <aura:handler name="init" value="this" action="{!c.getProperties}" />    

    <p class="slds-text-heading--label slds-truncate">{!$Label.c.Estimated_Appreciation_to_Date}</p>

The Estimated_Appreciation_to_Date is a custom label. I am not sure why it is displaying like this:

enter image description here

Is there anything else I need to do permissions wise or coding wise to get this label to display correctly?

enter image description here

  • 2
    Is this code snippet in an aura component (.cmp file)? – Jayant Das Mar 26 at 1:00
  • Are you sure you're using Aura components, not Web components? – sfdcfox Mar 26 at 1:21
  • @JayantDas yes I am using an aura component – Olivia Mar 26 at 2:16
  • @sfdcfox it's an aura component, I updated the post with some more code of the component – Olivia Mar 26 at 2:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.