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
Saravanan BaskarSaravanan Baskar 

Is there any way to remove save and cancel in lightning modal popup


Is there any way to remove save and cancel shown in the modal popupof lightning screen?. Ive created a custom button and added to the contact. I'd prefer using the send button in visual force page rather than button present in the modal popup which shows up by default.User-added image
sfdcMonkey.comsfdcMonkey.com
hi Saravanan Baskar
can you Please share you modal component code
Thanks :)
Aabhi BattaAabhi Batta
Hi Saravanan Baskar,

Yes you can remove the existing button and create a custom button .

Look into your code there might be these lines in your Modal code:
<div class="slds-modal__footer"> 
<button class="slds-button slds-button--neutral">Cancel</button> 
<button class="slds-button slds-button--brand">Save</button> 
​</div>
Thanks