You need to sign in to do that
Don't have an account?
Radha Rathinavel Pandian
Show or Hide the button on lightning based on checkbox
Hi,
As I am new to Lightning logic, please help me out for my requirement,
I need to create a lightning button, The button wants to Show / hide depends on my checkbox(legal__c) on my case object.
How can we do this ?
As I am new to Lightning logic, please help me out for my requirement,
I need to create a lightning button, The button wants to Show / hide depends on my checkbox(legal__c) on my case object.
How can we do this ?
I have a checkbox on case object withinin salesforce classic.. I just need to check the condition to show the button if my checkbox was unchecked.
<apex:commandButton value="Generate Certificate"
oncomplete="onControllerReturn()" onclick="doControllerSave();"
rendered="{!IF(Inspection__c.Status__c == 'Pass',true,false)}" />
<div class="slds-show" aura:id="newButtonDiv">
<lightning:button label="New" name="New" title="New" aura:id="New" onclick="{! c.createNewAction }"/>
</div>
var newButton = component.find("newButtonDiv");
$A.util.toggleClass(newButton, "slds-hide");