Questions tagged as 'ionic'

1
answer

How to convert string time to Ionic time for PHP with MySQL?

Good morning, I'm passing the server a string that would be for time: 23:45 is an example. In my $ _GET I'm trying to convert this way: $prazo_entrega_min = time("hh:mm", strtotime($_GET['prazo_entrega_min'])); But to no avail. What can...
asked by 01.03.2017 / 15:26
1
answer

How to hide a button on the Ionic / Angular after it is clicked with ng-click?

I have a button, normal, with an ng-click calling a function: <button class="button button-full button-balanced" ng-click="fechaPedido(pedido.observacao )"> FINALIZAR PEDIDO </button> I would like it to be disabled o...
asked by 06.04.2017 / 17:22
2
answers

How to add the event (click) on a Component in Ionic2?

I have a component called footer, it contains the following code: footer.html <ion-footer> <ion-toolbar color="black-light"> <button ion-button color="light" full clear>{{btnFooter}}</button> </ion-toolb...
asked by 28.01.2017 / 16:37
2
answers

ionic2 - upload photo via server

Next Galley. I have an application in ionic 2. The action is simple: take a photo or select a photo from the gallery. So far so good. however, at the time of upload, it goes on the server, but the photo does not go, that is, $ _FILES is empty...
asked by 11.01.2017 / 17:19
1
answer

How to get an array from a table and fetch another table in Ionic and AngularJS

I have a field in a table with array numbers: 2;3;7;8;9;10;11;15;1 Each of these numbers corresponds to an ID of another table. I need to list the items in this other table according to the array. I can not come to a favorable logic....
asked by 19.12.2016 / 13:00
1
answer

How to list in the View what appears in the console?

I have this routine: $scope.array1 = window.localStorage.getItem("tipos_pagamentos"); var as_formas_pag = $scope.array1.split(';'); for (var i = 0; i < as_formas_pag.length; i++){ $scope.array2 = as_formas_...
asked by 22.01.2017 / 15:39
1
answer

Error sending form data Ionic + PHP + MySQL

I am trying to send data from my form, already all validated to my database in MySQL with PHP, but it returns me the following error and does not send: WhatcanIdowrong?Ineedthishelp.MyController:(function(){"use strict"; angular.module(...
asked by 03.11.2016 / 11:38
1
answer

Add a sidemenu on ionic Blank template

Hello I created my project using the blank template of ionic1, but there was a need to add a sidemenu in my project. I have not been able to add this menu in a while and would like to know if anyone has already done this and could share with...
asked by 28.10.2016 / 02:57
1
answer

Ionic Framework Problems

I have a problem with the back button, I initially thought that the problem was in the cordova, but I identified that the problem is actually in the ionic, looking on the internet I found the following code: // Disable BACK button on home...
asked by 23.12.2015 / 12:11
1
answer

When you click on a button the Keyboard closes using Ionic

Has anyone ever gone through this? I would like the keyboard to remain open, type WhatsApp, messenger, that you send the message and the keyboard is still open. I'm using Ionic and developing for android 6.0 (marshmallow)     
asked by 26.09.2016 / 01:15