Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h3 mat-dialog-title>My order</h3>
- <mat-dialog-content>
- <mat-form-field>
- <input
- matInput
- placeholder="Order name"
- [value]="name" #orderName
- (keyup.enter)="closeDialog({ choose: true, name: orderName.value })"
- >
- </mat-form-field>
- </mat-dialog-content>
- <mat-dialog-actions>
- <button
- mat-raised-button
- (click)="closeDialog({ choose: true, name: orderName.value })"
- >
- Ok
- </button>
- <button
- mat-raised-button
- (click)="closeDialog({ choose: false, name: orderName.value })"
- >
- Cancel
- </button>
- </mat-dialog-actions>
Add Comment
Please, Sign In to add comment