Skip to main content

All Questions

Tagged with
0 votes
0 answers
201 views

How to fix height of select option in angular

I have 100 options in select tag but the height of select option is very large I want to reduce the height of select option. I used size=10 but its not working for me. HTML <ion-col size-md="6&...
shirish lakhe's user avatar
1 vote
1 answer
505 views

return a dictionary of dictionaries flask and angular

I am creating an app using flask and ionic(angular) and I am trying to return a JSON of the list currently my python code is the following def get-stocks(): # Select all stocks cursor.execute("&...
Yuval Mashiach's user avatar
-1 votes
1 answer
161 views

ANGULAR/IONIC ERROR Error: Error trying to diff '[object Object]'. Only arrays and iterables are allowed

I have this error when I want to receive data from the server with a REST API and display it in an HTML component through a modal. In console if I get the data but in my HTML view not. ERROR Error: ...
Eunice's user avatar
  • 1
0 votes
0 answers
1k views

Ionic 2 calendar / ion-card compressing on screen size change

How I want it to look all the time. What happens if the display gets too small. HTML <ion-card class="has-card-footer" *ngIf="collapseCard"> <ion-card-header tappable *ngIf="collapseCard" ...
win4win's user avatar
  • 363
1 vote
0 answers
1k views

How to get form values in ionic framework

My html is like this: <form [formGroup]="form" novalidate class="ng-pristine ng-valid ng-touched"> <div id="pr1"> </div> <div id="pr2"> </div> <div ...
Vengat Joy's user avatar
7 votes
4 answers
4k views

Setting col-* value dynamically from object value

I am using Ionic Framework and its grid system (similar to Bootstrap). However, I believe my question is more AngularJS than Ionic components. I have the following: <ion-col *ngFor="let col of ...
user1027620's user avatar
  • 2,795
1 vote
1 answer
985 views

How to get a numpad with Enter button and decimal in Ionic 3 / Angular 4 App

I'm trying to get a numpad to display in my ionic app the includes an enter button and a decimal point, so that the user can enter numbers and decimals and hit the enter button to submit. I've tried ...
Joe Starnes's user avatar
0 votes
0 answers
298 views

Ionic - Best practice: passing a callback to modal

I am using an Ionic modal and I want to pass a callback function to it from the parent component. Since I'm creating the modal dynamically through TS, I am passing the callback as a nav param like so: ...
GeForce RTX 4090's user avatar
0 votes
2 answers
2k views

Ionic <ion-item> between <ion-label> and <ion-datetime> not showing up

I am trying to make content appear between a stacked ion-label and ion-datetime input, but it just doesn't show up. What am I doing wrong? This is the html code: <ion-item> <ion-label ...
GeForce RTX 4090's user avatar
0 votes
2 answers
6k views

Html 5 Download attribute in iPhone

I have a requirement where I need to download and view files( pdf, word, jpg etc) from the server in ionic progressive web app without navigating away from the page. What would be the best and easiest ...
Mansoor's user avatar
  • 15
0 votes
1 answer
51 views

toggle change nested button colors in ionic 2x

I'm having nested button assigned in each list. What i want to achieve is when a particular button is clicked its color is suppose to change to a different color and when its clicked again is should ...
user6579134's user avatar
0 votes
1 answer
156 views

ERROR TypeError: Cannot read property 'nom_gr' of null ?? on Chrome

<ion-col col-9 class="sildes"> <ion-slides slidesPerView="{{nbPerPage}}" spaceBetween="5"> <ion-slide *ngFor="let slide of lesEboxs; let i =...
B.E2s's user avatar
  • 9
0 votes
1 answer
586 views

Angular2 How to trigger (click) event

I have a div and ion-input #fileInput type="file" accept="image/*" id="fileInput" [(ngModel)]="imageFilePath" (ionChange)="imageFilePath_change($event)" ></ion-input> How to simulate the ...
Matteo's user avatar
  • 1,271
0 votes
2 answers
80 views

how can i selectAll checkboxes when i check on contacts in my case ?!! ionic 2

selectAll() { for (var i = 0; i < this.groupedContacts.length; i++) { for(var j = 0; j < this.groupedContacts[i].length; j++) this.groupedContacts[i][j].selected = this....
B.E2s's user avatar
  • 9
0 votes
3 answers
716 views

Override * CSS property in scss Page

I am learning ionic. In my app I want to make the font of linkbutton to 12 px, however it is overridden by other css. My scss file has following css for linkbutton: .link_button { color: $...
Gautam's user avatar
  • 383

15 30 50 per page
1
2 3 4 5
14