...
if the popup is required from the menu tree then , we need to add the following piece of code and use dialog container from the common framework.
reRouteURL is used to navigate to search screen on click of back button.
| Code Block |
|---|
adhocDialog: {
uiFramework: 'custom-containers',
componentPath: 'DialogContainer',
props: {
open: getQueryArg(window.location.href, "action")==='showRequiredDocuments'?true:false,
maxWidth: false,
screenKey: 'search',
reRouteURL:'/tradelicence/search'
},
children: {
popup: {}
}
}
} |