diff --git a/console/src/app/modules/filter-events/filter-events.component.ts b/console/src/app/modules/filter-events/filter-events.component.ts index 186436ddf2..15bffd10b5 100644 --- a/console/src/app/modules/filter-events/filter-events.component.ts +++ b/console/src/app/modules/filter-events/filter-events.component.ts @@ -75,6 +75,8 @@ export class FilterEventsComponent implements OnInit { eventTypesList: new FormControl([]), }); + private initialValues = this.form.getRawValue(); + constructor( private adminService: AdminService, private toast: ToastService, @@ -172,6 +174,7 @@ export class FilterEventsComponent implements OnInit { public reset(): void { this.form.reset(); + this.form.setValue(this.initialValues); this.emitChange(); }