Questions tagged as 'ionic'

1
answer

sort with AngualrJS / orderBy by a field that will be created later

I'm using Ionic 1 with angular js. I need to sort a result by a field that should be created later, the field is the distance from the first address of the company, in orderBy I do not know what to put, and also the object is not being genera...
asked by 06.10.2017 / 15:00
1
answer

Appear list only when searchbar is filled - Ionic 3

Hello, I'm using this searchbar code and it's working. But I want the list of items to appear ONLY when I have something written on the searchbar. Basically I DO NOT want a "list of all items" to appear, only the items filtered when typing in th...
asked by 21.11.2017 / 05:05
1
answer

Size scale to convert psd css ionic ## Size scale to convert psd css ionic

My designer made the mobile template in photoshop with 1080x1920. How can I make proportional css? In what size should it draw, for the measures of photoshop to be equivalent to the measures of css / ionic? en: My designer made the mobi...
asked by 31.08.2017 / 05:18
0
answers

Store offline image on ionic storage

Hello, I created an application with a simple user registry and storing in ionic storage, but I would like to know how to store an image to be the user's profile photo My Provider looks like this: import { Injectable } from '@angular/core';...
asked by 16.09.2017 / 04:32
0
answers

ion-select does not recharge when I change tab

When I change the tab, and return to the old tab, which contains the ion-select, the field is set to null, with nothing marked, even though the page continues to load according to the populated variable. <ion-header color="primary"> <...
asked by 18.09.2017 / 16:18
1
answer

Select only 1 radio button with ionic

I'm trying to render some radio buttons using *ngFor and only I can select either the first or the last option, never the middle options. > I have the following array : [ { "title": "First question", "opti...
asked by 09.08.2017 / 19:09
1
answer

How to make a radio ion required, or make the button idle until you do not choose an option?

How can I make a radio ion as required, or disable the button if nothing is selected? <ion-radio ng-model="escolhido.categoria_comida_cod_categoria_com" ng-value="'{{item.categoria_comida_cod_categoria_com}}'" ng-required="true">{{item...
asked by 23.07.2017 / 03:01
0
answers

ng-click shoots twice with a click on the mobile resolution

I have the following problem:   ng-click fires twice with a click on the mobile resolution, when executed in the browser there is no problem. $scope.consultaItensMesa = function consultaItensMesa(mesa) { try { if (!mesa.show_item)...
asked by 20.07.2017 / 15:54
1
answer

Ionic Push: Error: INVALID_SENDER - IONIC 2

Talk about it! I'm developing an app where I have to use push notification. I followed the entire IONIC GUID tutorial on this link , more than once, and I was not successful. I also followed this tutorial that does the notifications thr...
asked by 20.07.2017 / 04:16
1
answer

How do I get a splice () on an http.get using Ionic / Angularjs to search?

I want to filter according to what the user types on the screen. I have a form with ng-model="q" and | filter:q Where my http.get step is the parameters I'm filtering, where ng-model is the "find: $scope.pagination = {...
asked by 13.07.2017 / 20:12