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
Mukesh_SfdcDevMukesh_SfdcDev 

lightning quick action button modal

Hi,

I have added a component in quick action button in lightning and this button show the standard modal.
And I want to remove/hide this standard modal, Is there any solution to remove the standard quick action modal.

Here is the code of component
<aura:component controller="somecontrollername" implements="flexipage:availableForRecordHome,force:appHostable,force:hasRecordId,force:lightningQuickActionWithoutHeader" access="global" >
<!-- Declared component attributes -->
<aura:attribute name="recordId" type="Id"/>
<aura:attribute name="message" type="String" default="false"/>
<lightning:notificationsLibrary aura:id="notifLib"/>

<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<lightning:spinner class="slds-show" variant="brand" size="small" aura:id="mySpinner" />
<!-- main div start -->

</aura:component>

User-added image
and this component is added on quick action button.
 
bhanu_prakashbhanu_prakash
Hi Mukesh,
Mark as best answer, If it resloves !!
check these link
https://andyinthecloud.com/2016/08/21/winter17-using-a-lightning-component-from-an-action/ (http://​https://andyinthecloud.com/2016/08/21/winter17-using-a-lightning-component-from-an-action/)

Mark as resloved if it helps :) :)
Thanks, 
Bhanu Prakash
visit ForceLearn.com​ (https://www.forcelearn.com/)
Mukesh_SfdcDevMukesh_SfdcDev
Hi Bhanu,

Thanks for this, but I just want when user click on quick action button standard modal should not open and init function will run the apex class and then toast will fire without any delay. Have any idea for this requirement ?

Thanks
Mukesh