src/app/dialogs/create-project-dialog/create-project-dialog.component.ts
This component provides a dialog for the project creation The user can set a name and description
selector | app-create-project-dialog |
styleUrls | ./create-project-dialog.component.scss |
templateUrl | ./create-project-dialog.component.html |
Properties |
|
Methods |
Inputs |
constructor(dialogRef: MatDialogRef<CreateProjectDialogComponent>, ps: ProjectStoreService, fb: FormBuilder, notify: UserNotifyService)
|
|||||||||||||||
Parameters :
|
description | |
Type : string
|
|
name | |
Type : string
|
|
afterAlertClose |
afterAlertClose()
|
Returns :
void
|
onNoClick |
onNoClick()
|
Returns :
void
|
onOkClick |
onOkClick(name: string, description: string)
|
Returns :
void
|
descriptionValidator |
Default value : new FormControl('', CCIMSValidators.contentValidator)
|
Public dialogRef |
Type : MatDialogRef<CreateProjectDialogComponent>
|
Public loading |
Type : boolean
|
nameValidator |
Default value : new FormControl('', [CCIMSValidators.nameFormatValidator, Validators.required])
|
Public saveFailed |
Type : boolean
|
./create-project-dialog.component.scss