2

I want to open a component as modal up from another custom of another component.If my child component has force:lightningQuickAction ,should that open directly as modal pop up without writing the code like slds_modal..etc.. or is force:lightningQuickAction only for making the component available in quick action drop down

1 Answer 1

3

The force:LightningQuickAction interface only allows the component to be used as a quick action - it doesn't automatically handle loading it in a modal. It will load in a modal if it's used as a quick action, but if it's used outside of that context then you'll need to handle creating the modal to load your component into.

1
  • Thanks for the clarification !!
    – SfdcSailor
    Commented Jul 5, 2019 at 17:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .