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

how to close quick action close button in lightning?

I need to hide the close button of quick action model.
Raj VakatiRaj Vakati
Call this method $A.get("e.force:closeQuickAction").fire() will close the modal dialog. 

sample code
       createRecord: function(component, event, helper) {
          var createRecordEvent = $A.get("e.force:createRecord");
             "entityApiName": "custom_obj__c",
              "defaultFieldValues": {
            'Name' : 'Abc'

Raj VakatiRaj Vakati
I need to remove the close button of the model.

Above model showing the "X" button ,I don't want this button how i can hide this button.
Adam TolbertAdam Tolbert
I also am in need of either hiding this X or trying to react to the users click of the button. Has anyone found a good solution for this?