+ Start a Discussion
Imtiaz PashaImtiaz Pasha 

Hi All, i want disabled a lighting component button after this wo stages meeting scheduled and meeting done how to do that any help below is my cod

<aura:component implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" 
                access="global"
                controller="Getquotelcs">
    <aura:attribute name="recordId" type= "String"/>
    <aura:attribute name="ShowButton" type= "Boolean"/>
     <aura:attribute name="Isdisabled" type= "Boolean"/>
    <aura:handler name="init" value="{!this}" action ="{!c.doInit}"/>
    <aura:if isTrue = "{!v.ShowButton}">
        <lightning:card>
            <div class="slds-align_absolute-center">
        <lightning:button variant="brand" label="GetQuote" disabled = "{!v.Isdisabled}"  title="GetQuote" onclick="{! c.getQuote }" />
</div>
        </lightning:card>
    </aura:if> 
</aura:component>