Currently the dialog cannot be opened without placing the dialog in the component template. For some scenarios like confirm dialogs, providing a service that creates the dialog is more convenient. https://github.com/telerik/kendo-angular2/issues/112
I would like to dialog can drag and set position.
Add configuration inputs for control animation of Dialog component.
It would be nice if it was possible to open kendo dialogs with separate component and template like you do in angular material, see below. https://material.angular.io/components/dialog/overview let dialogRef = dialog.open(UserProfileComponent, { height: '400px', width: '600px', }); dialogRef.afterClosed().subscribe(result => { console.log(`Dialog result: ${result}`); // Pizza! });
Currently there is no way to ged rid of 'x' closing button in top right corner. It can be hacked by css globally, but if using the DialogService yoy can not configure if the closing 'x' should be present or not - that would be nice feature
The api should allow for the close of dialog on escape or backdrop click.
Kendo Feature Request
Allow users to disabled keyboard navigation in the Dialog component.
We have a use case where there is a sliding panel in which users can open a dialog. Currently when pressing 'Esc' both our sliding panel and the modal close because they both listen to the document.keydown event. We would like to write some custom logic for this, so that we are able to handle the events in a way so it knows what to close. But we are unable to implement this since we have no way to overwrite/disable the logic in the Dialog component.
Currently there is no way to provide a component from a lazy-loaded module as content in the Dialog Service.
We need a way to pass in the correct injector/componentFactoryResolver to use to load the component with.
Further discussion and possible solution are available in the following Angular GitHub threads:
https://github.com/angular/angular/issues/14324
As already present on popupService -> https://www.telerik.com/kendo-angular-ui/components/popup/api/PopupSettings/#toc-popupclass
is it possible to have also dialogClass when dialogService is used?
Thanks.
Would like to be able to set the color on the kendo dialog. We have a mobile application that uses dialogs for error reporting and some times informational reporting. Being able to set the color on the Dialog title bar as well as the button color would be a great feature.
Currently there is no easy way to programmatically close a dialog from within the dialog component. Also it should be possible to a return a reason why the dialog was closed which may be different to the action buttons and the reason should be available when subscribing to the result stream Perhaps have a look at the ng-bootstrap dialog and implement something similar. See: https://ng-bootstrap.github.io/#/components/modal/api. If the content of the modal is a component, then nb-bootstrap can inject the dialog instance into the dialog component (using the NgbActiveModal class). The NgbActiveModal class can then be used to programmatically close / dismiss the modal from "inside" the component.
I would like to move dialog (because there is some content behind I need to see in order to fill form in dialog).
It would also be great if it could be resizable. If you have an input component inside dialog, you could set width to 100%.
Hi,
We need to have it possible to close the active dialog by click on the overlay(backdrop).
It's very natural as for me and is supported by a lot of libraries for modals/dialogs/windows
I would like to switch off scrollbars for individual dialogs, thus it would be great to have a scrollable (https://docs.telerik.com/kendo-ui/api/javascript/ui/window/configuration/scrollable) option to control this behavior. This should be also available in the configuration of dialog service.
When using the DialogService (or the PopupService), you must pass either a TemplateRef or a Component class to the content property for it to create. However, if you have a Component that needs special initialization (i.e. constructor parameters) or that you have already created using a factory, you cannot use that as the content for the DialogService/PopupService. This feature request is to allow the content parameter to be valid if an existing component instance (already created) is passed.
Provide the "buttonLayout" (https://docs.telerik.com/kendo-ui/api/javascript/ui/dialog/configuration/buttonlayout) setting for Dialog and DialogService. Useful values for layout would we "Stretched", "Start", "Center" and "End".
Hi,
I'm using the DialogService and it would be good to be able to provide my own injector so I can extended the service. Currently the DialogService uses the container's injector.
Reason for this feature request is to provide data to the dialog itself via DI, similar to how Angular Material allows this via MAT_DIALOG_DATA injection token.
Thanks,
Anthony
The main.js file for all modules seem to be kept in the following file structure: dist/npm/js/main.js however in the dialog module the main,js file is dist/npm/main.js. This inconsistency causes issues when using systemjs and loading the packages this way.