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
Matrix ReturnsMatrix Returns 

How to disable or enable Lightning Component button based on status field of object UI ?

Tiago Armando CoelhoTiago Armando Coelho
HI Matrix, 

Please check this link. 

https://help.salesforce.com/articleView?id=lightning_page_components_visibility.htm&type=5

Kind regards, 
Matrix ReturnsMatrix Returns
Hi I want to add to two  lightning component  button for examplle button A and Button B on contact object. Both have  unuiq functionality.Both have a field source  picklist type . I want when source is web diable button B and when source is Phone Disable button A.
sfdcMonkey.comsfdcMonkey.com
can you please share your lightning component code where you have thest buttons ?