This commit is contained in:
tiago.kayaya
2021-07-13 15:21:17 +01:00
2 changed files with 5 additions and 5 deletions
@@ -214,13 +214,13 @@
</div>
</div>
<div *ngIf="Form && validateFrom" >
<!-- <div *ngIf="Form && validateFrom" >
<div *ngIf="Form.get('participantes').invalid " class="input-errror-message">
<div *ngIf="Form.get('participantes').errors?.required">
Adicionar participant.
</div>
</div>
</div>
</div> -->
<div class=" d-flex width-100">
<div class="ion-item-class-2 width-100">
@@ -102,7 +102,7 @@ export class EditEventPage implements OnInit {
public alertController: AlertController,
private attachmentsService: AttachmentsService,
private toastService: ToastService ) {
}
ngOnInit() {
@@ -152,13 +152,13 @@ export class EditEventPage implements OnInit {
this.restoreDatepickerData();
this.getRecurrenceTypes();
this.selectedRecurringType = this.postEvent.EventRecurrence.Type.toString();
setTimeout(() => {
this.selectedRecurringType = this.postEvent.EventRecurrence.Type.toString();
console.log(this.selectedRecurringType);
}, 1000);
}
close() {
@@ -219,7 +219,7 @@ export class EditEventPage implements OnInit {
participantes: new FormControl(this.taskParticipants, [
Validators.required
]),
Date: new FormControl(this.dateControlStart.toLocaleString() > this.dateControlEnd.toLocaleString()? 'ok': null,[
Date: new FormControl(this.dateControlStart.value.toLocaleString() < this.dateControlEnd.value.toLocaleString()? 'ok': null,[
Validators.required
]),