Open lonyel opened 6 years ago
Is this still an issue @lonyel ? Any issues with Angular 5?
const dialogRef = this.dialogService.confirm() .size('lg') .isBlocking(true) .showClose(false) .keyboard(0) .title('Confirm?') .body('Confirn action?") .open(); dialogRef.result .then(result => { this.actionConfirmed = result? "CONFIRMED": "CANCELED"; }, reject => { console.log('CANCELED'); });
IMPORTANT: Please provide a sample using: http://plnkr.co/edit/lV7zsw7Yqossgs9JOfQU?p=preview
I'm submitting a ... [ ] bug report [ ] feature request [ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use one of the templates above as a starting point).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Angular version: ?
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)