mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
save
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<div class="ion-icon-class">
|
<div class="ion-icon-class">
|
||||||
<ion-icon slot="start" src="assets/images/icons-description.svg"></ion-icon>
|
<ion-icon slot="start" src="assets/images/icons-description.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Message')?.invalid && validateFrom ">
|
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Message')?.invalid && validateFrom || validateField ">
|
||||||
<ion-textarea class="add-border" placeholder="Descrição" [(ngModel)]="postData.DispatchFolder.Message"></ion-textarea>
|
<ion-textarea class="add-border" placeholder="Descrição" [(ngModel)]="postData.DispatchFolder.Message"></ion-textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -73,7 +73,8 @@ export class CreateProcessPage implements OnInit {
|
|||||||
profile: string;
|
profile: string;
|
||||||
|
|
||||||
Form: FormGroup;
|
Form: FormGroup;
|
||||||
validateFrom = false
|
validateFrom = false;
|
||||||
|
validateField = false;
|
||||||
|
|
||||||
emptyTextDescription = "Sem intervenientes selecionados";
|
emptyTextDescription = "Sem intervenientes selecionados";
|
||||||
showEmptyContainer = true;
|
showEmptyContainer = true;
|
||||||
@@ -380,6 +381,7 @@ export class CreateProcessPage implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
this.validateField = true;
|
||||||
this.toastService.badRequest('Por favor adicione uma nota');
|
this.toastService.badRequest('Por favor adicione uma nota');
|
||||||
}
|
}
|
||||||
loader.remove();
|
loader.remove();
|
||||||
|
|||||||
Reference in New Issue
Block a user