I'm directly using LWC component in the Quick Action through flow, once the submit button is called I'm dispatching an event from LWC but aura is not capturing and also Quick action modal is not closing.
Here is the code:
LWC
closeModalQuickAction() {
this.dispatchEvent( new CustomEvent('closeQuickAction'));
}
Aura :
<aura:component implements ="force:lightningQuickActionWithoutHeader" >
<c:dynamicInputTable oncloseQuickAction="{!c.closeModal}"/>
</aura:component>
({
closeModal : function(component, event, helper) {
console.log("closing the popup");
$A.get("e.force:closeQuickAction").fire();
}
})
this is how I'm doing but nothing is happening
onCloseQuickAction
instead ofoncloseQuickAction
?