form validation for new dashboard dialog
This commit is contained in:
@@ -46,7 +46,8 @@ export class DashboardPageComponent implements OnInit {
|
||||
|
||||
createNewDashboard() {
|
||||
const dialogRef = this.dialog.open(NewDashboardComponent, {
|
||||
data: {name: "", description: ""}
|
||||
data: {name: "", description: ""},
|
||||
width: '30em'
|
||||
});
|
||||
|
||||
dialogRef.afterClosed().subscribe((result: DashboardCreationData) => {
|
||||
|
||||
Reference in New Issue
Block a user