Questions tagged [navparams]
11 questions
5
votes
1 answer
How to navigate between pages in ionic 4 & 5?
I had a project that I developed with ionic 3. But I took a break and when I started working again with ionic, I saw the navigation system change in the new versions. My project is a simple project. This project that lists the data in the a array…

ucnumara
- 155
- 1
- 1
- 11
2
votes
2 answers
Ionic 3 Passing objects using navparams to 3 pages
I am an absolute beginner and am self taught using Ionic3
I have a problem that is driving me wild that I hope someone can assist on.
I have a master-detail-detail setup where the following happens:
Master page has a list of reports (taken from a…

FrodoBaggins
- 43
- 1
- 6
1
vote
0 answers
Ionic: NavParams in a child tab is lost after a page refresh
Consider a parent TabsPage with IonicPage() decorator as such:
@IonicPage({
segment: 'case/:caseId/summary/:summaryId'
})
Pass the navParams of the TabsPage as rootParams to all the child tabs pages.
Navigate to the child tab and log the…

Anjil Dhamala
- 1,544
- 3
- 18
- 37
1
vote
1 answer
Passing params in ionic sidemenu
When a user logins the ionic app, how do I pass the user ID to the pages listed in side menu.. Is there a possibility to send data through navParams?

Karthika
- 45
- 1
- 8
0
votes
0 answers
How to send parameters between pages with Nav Params in Ionic?
When I try to send data from one page to another, it does not detect anything.
This is my data model:
export interface rutaModel{
restaurante:string;
sede:string;
}
this is the function that push the navparams:
anyobjects:
item: rutaModel =…

Xavier Duvan Melo
- 320
- 2
- 14
0
votes
1 answer
Ionic 3 NavParams Pushing Data from Page 1 to Page 3
I’m working on an application with multiple different pages and I need some help.
My application retrieves data from a database in Parse, and I am using providers in order to share this data to my other pages.
My main page (Page 1) asks the user to…

ellierad
- 27
- 7
0
votes
0 answers
ion-datetime - set date without datepicker IONIC 3
I am using with the built-in datepicker to create an event.
I would like to be able to dynamically set a date from another page, just like below using NavParams
user4422315
0
votes
1 answer
weird bug with navParams
I am having some weird issues with NavParams on my ionic project.
I am able to pass it from the first page to second page, but when trying to pass it from second page to third page it is undefined.
home.ts
import { Component } from…

juniortan
- 196
- 1
- 1
- 10
0
votes
0 answers
Return NavParams in a column for Ionic 2
My code can run well but I have no idea on how to display {{subjectParam}} in a column when user select the subject. The current result return the subject with comma like this > Mathematic, Science. Is there a way to return it in a column/table? …

rightside
- 11
- 4
0
votes
1 answer
NavParams in Ionic 2
I am trying to pass/get a specific data from one page to another page using NavParams but I always get undefined result in the console. I do not know what seems to be the problem. Here is my code:
order.ts (TS file where I want to get the…

noob
- 251
- 7
- 17
0
votes
0 answers
Ionic 3 navParams.get broken 50% of the time
I have code in my app-component.ts
import {Nav} from 'ionic-angular';
...
@ViewChild(Nav) nav: Nav;
...
this.nav.setRoot(page.component, params)
.catch((err: any) => {
console.log(`Didn't set nav root: ${err}`);
});
Then in two separate…

JGFMK
- 8,425
- 4
- 58
- 92