mddialog Questions

9

Solved

I have a component which is meant to be used in an Angular Material MdDialog : @Component({ ... }) export class MyComponent { constructor(@Inject(MAT_DIALOG_DATA) public data: any, public dialog...

4

Solved

I am using a MdDialogModule to show a Dialog window with an input field in it. The Modal is opening fine and I am able to enter text into input field and submit, but on clicking the Submit button, ...
Ari asked 12/8, 2017 at 8:6

3

Solved

I am trying to pass some property value using config. But dialog not open into full screen. openTwigTemplate(): void { let config = new MdDialogConfig(); config = { position: { top: '10px', r...
Comp asked 28/3, 2018 at 9:58

3

Solved

I have a md-dialog component - DialogComponent - which i open from sibling component - SiblingComponent - and i want to close it in dialog.component.ts after some actions. DialogComponent basicall...
Interviewer asked 24/8, 2017 at 12:33

2

I send some info to my md-Dialog using 'locals' attribute which works perfectly. After the user presses a button he will send some info through $resource method and get a response. I need to show t...
Sequestration asked 14/1, 2017 at 14:19

2

I'm creating a mailbox in angular. And I would need to save the draft message when the popup to send a message closes. I know there are some alternatives: scope.$on("$destroy", function () { save...

2

Solved

I'm a new one in css and can not to set up the max-width of my confirmation dialog properly. Here my code of calling dialog: this.$mdDialog.show({ content: longText, ok: 'OK', cancel: 'CANCEL' ...
Brause asked 8/7, 2016 at 19:4

3

Solved

I'm trying to use a dialog component in Angular 2 using @angular/material2.0.0-beta.1. What I'm trying to accomplish is to send data (which are values that a person chooses from the interface, the ...
Crisscross asked 28/2, 2017 at 22:54

1

Solved

I would like to keep the state of the Md Dialog alive even I close the dialog.So that I can keep the upload status active all over the application. My plan is to store the upload response in the se...
Boxboard asked 14/2, 2017 at 7:4

4

Solved

I am using an Angular 1.5 Material Design $mdDialog in the recommended way, using controllerAs: "dialog". In the template I have a form: <form name="fooForm". Within the template I can access th...
Bani asked 1/2, 2017 at 21:59
1

© 2022 - 2024 — McMap. All rights reserved.