‎2025 May 30 12:41 PM - edited ‎2025 May 30 3:03 PM
SAP Composabel Storefront:
I am trying to close the pop-up dialog but it is not working.
I have followed the steps mentioned in this below URL, but that still doesnt close the dialog (no error in the console)
this.launchDialogService.closeDialog('userClickedCloseButton');
Can someone please help out on this
Request clarification before answering.
Hello,
I suggest trying to use openDialogAndSubscribe instead of openDialog as mentioned here:
https://help.sap.com/docs/SAP_COMMERCE_COMPOSABLE_STOREFRONT/eaef8c61b6d9477daf75bff9ac1b7eb4/c87a11...
Or you can keep using launchDialogService and add the following code:
Also, please ensure that the LAUNCH_CALLER.MY_MODAL value matches your dialog configuration, and that your dialog component is correctly registered in your storefront setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.