improve inputs

This commit is contained in:
Peter Maquiran
2021-07-12 19:27:24 +01:00
parent df83910fa7
commit 3f1f785283
2 changed files with 37 additions and 37 deletions
@@ -266,7 +266,7 @@ export class NewEventPage 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.toLocaleString() < this.dateControlEnd.toLocaleString() ? 'ok': null,[
Validators.required
]),