Questions tagged as 'ionic2'

0
answers

Search for desired customer in vector - Ionic

Well, I'm having problems with my application. The idea would be: I type a client in the search bar, it traverses the vector, brings its clients in a list. So far so good. The problem: When I have two clients with the same initial characters, it...
asked by 15.10.2018 / 14:34
0
answers

Comparison of what is being typed on the screen with an element of the vector - Ionic

My code: (this.clients is the reference to the client vector) getItems(ev: any) { const val = ev.target.value; if (val == '') { this.clientes = null; } else if(val && val.trim() == this.clientes){ this.buscarUsuario(ev); }   ...
asked by 08.10.2018 / 20:05
0
answers

Error with search bar - Ionic

Order.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 = this.clientes.filter((cliente)...
asked by 08.10.2018 / 19:25
0
answers

Sum of two fields and result in third - Ionic

I'm developing an app with ionic 3, and I want to do a calculation with some fields, and show the result in another input ... For example, I need to report a Selling Price, Quantity and Discount, the result will be shown in TotalTotal. <ion...
asked by 01.10.2018 / 14:18
0
answers

Function does not return the UID - Firebase

I'm developing an app with ionic 3 and firebase, and I'm encountering a problem, because the function I'm calling is not working as expected. I wanted it to return only the requests with this uid getAll() { var userId = firebase.auth().current...
asked by 20.09.2018 / 20:36
0
answers

Control Button Hardware Back Android with Ionic 3

Hello Implemented control of the physical back button for Android. I had to do this because by browsing the menu it makes the page as root and exits directly from the app by pressing it. After the first version stopped coming out of the modal...
asked by 17.09.2018 / 22:15
1
answer

How to send data to a modal in Ionic 3 of a Storage?

I have a list and a registration. Cadastro is a modal and works well: The Register View: <ion-header> <ion-navbar color="dark"> <ion-title>Adiciona Sessão</ion-title> </ion-navbar> </ion-he...
asked by 06.09.2018 / 21:07
1
answer

Only bring specific data from firebase

Well, I'm trying to develop an app with ionic 3 and Firebase. But I'm having problems. You are bringing all requests to all users (getAll). I wanted to know the correct way for me to bring only the user requests themselves; getAll() { return...
asked by 19.09.2018 / 16:49
1
answer

How to read an array string in Ionic / AngularJs or Javascript and pass 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"} In this way, I can get each of the Ar...
asked by 07.09.2018 / 18:55
0
answers

How to start the app in Ionic inappbrowser without having to create an ionbutton on the blank page

Good afternoon. I'm trying to generate a webview with the ionic inappbrowser. I followed the youtube tutorials and everything happened to me. however I wanted a method that the page opened directly without having to create a first blank page wit...
asked by 28.08.2018 / 21:01