I am trying to use this syntax to navigate with queryParams
following the accepted answer in here: Sending data with route.navigate in Angular 2
this.router.navigate(['add', { queryParams: { type: $event.value } }], { relativeTo: this.route });
However instead of:
.../add?type=someEventValue
this results in the optional parameters (aka matrix notation)
.../add;queryParams=%5Bobject%20Object%5D
What am I doing wrong? Is there a way to enforce the old style of search parameters in Angular 4.3.x router?