You need to sign in to do that
Don't have an account?
Mukesh_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
and this component is added on quick action button.
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>
and this component is added on quick action button.
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/)
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