Questions tagged [ionic-popup]

In the Ionic Framework, the Ionic Popup service allows programmatically creating and showing popup windows that require the user to respond in order to continue.

In the , the Ionic Popup service allows programmatically creating and showing popup windows that require the user to respond in order to continue.

The popup system has support for more flexible versions of the built in alert(), prompt(), and confirm() functions that users are used to, in addition to allowing popups with completely custom content and look.

Useful link

80 questions
19
votes
3 answers

is it possible to change button's text with $ionicPopup.confirm()?

I'm using $ionicPopup.confirm() but I would like to change "cancel's button" text. Is it possible to do so ? I'm aware of .show() syntax: buttons: [ { text: 'Cancel' } ] But it does not seem to work with .confirm() ... Thank 4 the help
smknstd
  • 321
  • 1
  • 2
  • 5
8
votes
1 answer

How to remove title area from ionicPopup

I want to remove the title area from the ionic popup completely. I removed the title tag and tried. but still can see the title space visible. Here is my code. var registerPopup = $ionicPopup.show({ templateUrl:…
Ravitheja
  • 721
  • 1
  • 7
  • 24
7
votes
2 answers

How create an input box having a + and - button in Ionic

How I can create an input box having a + and - button. Clicking upon which user can change the quantity of product selected, like this screen:
Ramos
  • 139
  • 1
  • 3
  • 14
7
votes
1 answer

Override android hardware back button, make it exit in one page and make it back in the next pages

I'm using the following controller so that in dashboard page android back button exits app but on the rest of pages it goes back. Since before dashboard page I had a tutorial I only present once to my users, then I had to override android back…
CommonSenseCode
  • 18,848
  • 28
  • 112
  • 163
5
votes
3 answers

Keyboard obscures input text area

I have a form that is displayed inside http://ionicframework.com/docs/api/service/$ionicPopup/. The issue is that when cursor is placed inside the final input (text area), the keyboard shows but the input doesn't scroll back into view and is…
user1275105
  • 2,123
  • 4
  • 27
  • 41
4
votes
1 answer

angularjs $ionicPopup.prompt OK button with ng-disable attribute

I'm using $ionicPopup.prompt with OK button, which I try to disable programmatically if none of the input option is selected. Even if I put: attr: 'ng-disabled="true" ' it has no effect. What I expect is for the OK button to be disabled and the…
Alex
  • 197
  • 1
  • 6
4
votes
1 answer

Ionic popup with jquery ui datepicker

I'm using jquery UI datepicker widget in my ionic app. I want to use the datepicker in an ionic popup, but the I am unable to select the date because the popup is in front of it. Any ideas on how to make the datepicker directive show in front of…
arop
  • 451
  • 1
  • 5
  • 11
3
votes
0 answers

ionic - add ID to popup

I'd like to add an ID to ionic popup, but apparently it is not possible using the default options provided by the framework. Since it will make my testing way easier using IDs, I'm trying to add it myself but with no luck. Basically, what I have, is…
Nick
  • 10,791
  • 6
  • 40
  • 82
3
votes
1 answer

Ionic - Didn't return value $scope in $ionicPopup.show inside factory

I created a project with $ionicPopup. I put the $ionicPopup code in a .factory. In my $ionicPopup.show() I ask user to input a value. After users already input the value, then it will alert the value what the user's wrote. I also checked the…
2
votes
1 answer

Ionic 1: Link not working in popup content

I working with ionic pop-up where inside the popup content, I want a clickable link. The problem is that the link that I created is not working. Can't click them. My code is as follows: var mypopup = $ionicPopup.show({ template: '
Akira Kronic
  • 164
  • 12
2
votes
5 answers

Ionic 2 Alert customization

I want to customize my alerts in Ionic 2. I know that I can do it globally in the variables.scss, but I want to modify a specific one, in a specific page. I tried cssClass in the alert code, I tried other different things, that work, but globally,…
Mystearica
  • 167
  • 1
  • 3
  • 12
2
votes
2 answers

How do I interact with items in the background in ionic while a popover is active?

Ionic Version: 1.x Platform: all I have an ionic app which uses an ionic popover. However, when the popover is active (open), I can no longer interact with things in the background, for example scroll down my list of items. I have tried looking for…
IonicBurger
  • 4,277
  • 1
  • 34
  • 45
2
votes
2 answers

$ionicPopup: e.preventDefault() gets ignored

I'm using the following code for some validation stuff using both $ionicPopup and Firebase: onTap: function(e) { firebase.auth().applyActionCode($scope.data.emailcnfrm) .then(function() { return $scope.data.emailcnfrm; …
user6039980
  • 2,357
  • 4
  • 24
  • 52
2
votes
2 answers

Ionic: How is it possible to change $ionicPopup subTitle's text programmatically?

I'm trying to change the value as well as the style of the subText attribute associated with an $ionicPopup somewhere in my app. I searched everywhere, but didn't find yet any method for doing so. So how is that possible? Thanks.
user6039980
  • 2,357
  • 4
  • 24
  • 52
2
votes
1 answer

How do I close an $ionicPopup before opening a new one?

I'm creating an Ionic application with a form and some required fields. When the form is submitted and if it isn't valid, I display an alert message using Ionic's $ionicPopup service. My problem is: the user can press "ENTER" or ("Go" button within…
Rodrigo Lira
  • 1,387
  • 3
  • 13
  • 27
1
2 3 4 5 6