-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Description
Bug Report
Ionic Info
Ionic:
ionic (Ionic CLI) : 4.1.0
Ionic Framework : @ionic/angular 4.0.0-beta.2
@angular-devkit/core : 0.7.3
@angular-devkit/schematics : 0.7.3
@angular/cli : 6.1.3
@ionic/ng-toolkit : 1.0.6
@ionic/schematics-angular : 1.0.5
System:
NodeJS : v8.11.3
npm : 5.6.0
OS : Windows 10
Describe the Bug
Query params passed via NavController.goForward() are not appended to the URL.
Steps to Reproduce
- Create starter app: ionic start myApp sidemenu --type=angular
- Add button to side menu (or anywhere), wire to following handler:
test(): void {
this.navController.goForward(`/list`, true, { queryParams: { dummy: 4 }});
}
Expected Behavior
When clicking button, browser should navigate to "/list?dummy=4". Instead it navigates to "/list" without query param.
georgechr, jing-zhou, dekonunes, matthew-valenti, Chris1234567899 and 1 more
Metadata
Metadata
Assignees
Labels
No labels