You need to sign in to do that
Don't have an account?
Imtiaz 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>
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>