Hello. I have a page annotated with:
@IonicPage({segment: "searchpage/:param"})
The page is a list with some search filters, and I would like to update the “:param” parameter to indicate the filters applied, like a URL query string:
http://localhost:3000/searchpage/name=aaa&color=blue
I tried to do that updating navParam data object:
this.navParams.data.param = queryString; // queryString = "name=aaa&color=blue"
but the URL is not updated “on the fly”.
However, If I navigate to the next page and back, the URL is updated. It works too if the page shows a loading indicator during the search, but unfortunately the loading is not appropriate for this page.
My environment:
cli packages:
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.2
Cordova Platforms : none
Ionic Framework : ionic-angular 3.9.2
System:
Node : v8.9.1
npm : 5.5.1
OS : Windows 10