Most voted "ionic2" questions
Ionic 2 is the second version of the Ionic framework that aims to create hybrid applications for mobile devices. Use this tag for questions about features specific to version 2, for general questions use the tag [Ionic].
Learn more…217 questions
Sort by count of
-
0
votes1
answer57
viewsError search ion-Searchbar
Good night to you all I’m having a problem with a research code and I’d like some help. As you type in the search field, the list changes and works normally, but when you delete what you type, the…
-
0
votes1
answer145
viewsHow to pass data from one screen to another with Native Localstorage and Ionic 3?
I would like to know how to pass data from one item to a form in another view, using Ionic 3’s Native Localstorage. I created a preview as shown below: import { Injectable } from '@angular/core';…
-
0
votes1
answer125
viewsHow to get the result of a JSON where the result is HTML and in the Ionic View render the HTML?
I have a JSON where the contents of some fields are HTML, I would like to present the HTML in the Ionic View already rendered. This is the JSON: [{"data":"2018-09-05","categoria":"1","desafio":"…
-
0
votes1
answer513
viewsHow to read an array string in Ionic/Angularjs or Javascript and move to directives?
I passed parameters to another TS with: console.log('Data', navParams.get('sessoes')); That shows me this result: {data: "2018-09-11", weight: "200", sessoes: "20", repeticoes: "2", notas: "teste"}…
-
0
votes0
answers18
viewsError with search bar - Ionic
Pedido.ts : getItems(ev: any) { const val = ev.target.value; if (val == '') { this.clientes = null; } else if(val && val.trim() != ''){ this.buscarUsuario(ev); } selectItem() { this.clientes…
-
0
votes0
answers420
viewsAPK installs but does not execute - IONIC
I’m having the following difficulty a few days after generating my APK and installing on my device while trying to open it displays the message the app stopped I took an old Ionic project and added…
-
0
votes0
answers32
viewsDelete chosen file from a list and subtract from the total value - Ionic
I’m developing an app with Ionic 3 and Firebase. I am facing problems, because it is not decreasing the value of the product(chosen) of the total. Always subtract the last value informed. Follows…
-
0
votes1
answer194
viewsRecover data from localStorage to a list
Good morning, I am developing an app with Ionic 3 and I have the following situation : I am recording a list of products in the Store, after that, I need to bring the recorded data, for a list of…
-
0
votes0
answers32
viewsProblems saving two information at the same array position
Well, I’m developing an app with ionic 3. I am facing problems, because I need to show in the same column, the product and its value : Product - 350 (value) But, it is storing at position 1, the…
-
-1
votes2
answers837
viewsSimple Google Maps with Ionic 2
Talk personal, all right? Next, I’m developing an application in Ionic 2 that will need google maps. However the use is not via geolocation, it is only the presentation of the map with a predefined…
-
-1
votes1
answer41
viewsDoubt about $ionicLoading.Hide() closure
My problem is this. I am receiving a json from a webservice and doing Insert or update in a sqlite database on the device I use $ionicLoading.show() by clicking on the button and it closes when the…
-
-1
votes1
answer249
viewsProblem with images when buildar - Ionic 2
I have a project and everything is in accordance as in this link: https://stackoverflow.com/questions/39952214/correct-way-to-use-image-assets-in-ionic-2 The images are in the src/Assets/img folder…
-
-1
votes1
answer111
viewsError starting an Ionic project
I am having a problem starting an Ionic project, I have installed Node.js V10.15.1, Cordova 8.1.2 ([email protected]), Ionic cli CLI 4.10.3 and I only get the error npm i [ERROR] Command not found:…
-
-1
votes1
answer128
viewsHow to include a file created style.css in my Blank IONIC 3 project
help me put the css in Ionic, only works if I put inline style…
-
-1
votes1
answer2879
viewsHow to make Ionic line break 3
I’m trying to break line inside an object in Ionic 3, I’ve tried with n, n with and nothing works the text always comes out in a single line, someone knows a solution thanks, follow the code export…
-
-1
votes1
answer208
viewsBad Request 400: When accessing API with Ionic 3
I’m getting on my console the Bad Request 400 response to my API call: My app.api.ts in the app folder is: export const MEAT_API = 'http://localhost:1337' And my main code is: submit(){ var link =…
-
-2
votes1
answer757
viewsERROR Error: Uncaught (in Promise): Typeerror: Cannot read Property 'src' of null
I want to take the "src" of an html image but keeps showing this error. I’m trying to do it this way import { NavController, NavParams } from 'ionic-angular'; import { Component } from…