function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KMK91KMK91 

How to show and Hide the fields in standard lightning experience

Hi, 

I have one query, How to show and Hide the fields in standard lightning experience. Any replies much appreciated. Thank you.
Raj VakatiRaj Vakati
1 .By using <Aura:if > tag.
<aura:if isTrue="{!v.displayedSection == 'section1'}">
 <!-- code to display information on UI -->
</aura:if>


2 .By using slds-show or slds-hide class on div.
 
<div class="{!if(v.displayedSection == 'section1','slds-show','slds-hide')}">
 <!-- code to display information on UI -->
</div>