0
 <aura:if isTrue="{!and(v.CaseRecord.ProductId!=null,v.CaseRecord.ProductId!='')}">   
        
            <c:COMM_Case_SubCategory aura:id="SubCat" 
                                productId="{!v.CaseRecord.ProductId}"
                                selectedValue="{!v.CaseRecord.Category__c}"  
                                selectedIssueValue="{!v.CaseRecord.Issue__c}"                
                                accountId="{!v.CaseRecord.AccountId}"
                                duplicateCaseId="{!v.duplicateCaseId}" 
                                calledFrom ="{!v.calledFrom}"
                                />              
        
        </aura:if> 
0

1 Answer 1

0

A good practice is to show the loader on the child component itself, as you are loading something in the child component, let's not block the full page, instead show the loader in child component.

<lightning:spinner class="slds-hide" aura:id="Spinner" alternativeText="Loading" size="small" variant="brand" />

Show/Hide loader based on your need in a specific component instead of blocking the page.

You must log in to answer this question.

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