Posts by Gesiel Rosa • 325 points
13 posts
-
0
votes1
answer433
viewsA: how to upload multiple photos to the Ionic app
With the native plugin you cannot do this. Just take one photo at a time. But there is a solution: https://www.npmjs.com/package/ionic-multi-camera…
-
2
votes1
answer274
viewsA: Align label to right of icon
This is because of the varied size of the icons. An adjustment you can make is the following: In the file "app.scss" add the following code: .item ion-icon[item-left] { width: 24px; }…
-
1
votes1
answer86
viewsA: Page change "Onclick" always "invalid views to Insert"
Check that the pageAddOferta page has the "@Ionicpage()" on it. If you have vc you are calling the wrong "setRoot()" function. That would be the correct way to call the next page: addOferta(){…
-
0
votes3
answers375
viewsA: Go through a for to fill a table in pdfMake
Your code has a problem in this section. body: [ [column], [value] ] Here’s an example of what it should be like: The first element of the "body" array is the table header, the other elements are…
-
1
votes2
answers791
viewsA: Formgroup does not take default values
You must set the value in the form via Typescript, not via template. (Use patchValue, if the JSON object is different from the form, there will be no error, if you use Setvalue, an error would…
-
0
votes1
answer52
viewsA: Upload gif before data reaches page
That should solve your case: <table cellpadding="5"> <tbody> <tr *ngIf="!contatos || (contatos && contatos.length == 0)"> <!- gif aqui --> </tr> <tr…
-
1
votes1
answer57
viewsA: How do I make my title stick to color Primary as well as my icon?
To put color in an H tag (Headings), you need to do the following: <h5 ion-text color="primary">Título</h5> You can find more about in the documentation: Typography…
-
0
votes1
answer67
viewsA: Ionic time Picker Usability
Why don’t you use Ionic’s own Datetime? It already comes with the 24h format option. https://ionicframework.com/docs/v3/api/components/datetime/DateTime/ <ion-item>…
-
2
votes1
answer339
viewsA: How to use Infinite Scroll within an ion-card?
I researched something about some time ago, and from what I understand, Infinite-scroll needs a scroll to have reference to the "end" of the list. It would look something like: <ion-card>…
-
0
votes1
answer304
viewsA: back menu Ionic v3 button
In the menu function that opens a new page, check the following: If the function calls a new page like this (below), you will reset the stack and put the page you clicked as Pageroot (first) from…
-
1
votes1
answer44
viewsA: *ngSwitchCase is not rendering the element as per condition
To solve the problem replace: *ngSwitchCase="emoji" for *ngSwitchCase="'emoji'" In this case, the angular was trying to compare the variable "choose_layout_rating" with the variable "emoji" that…
-
1
votes1
answer47
viewsA: How do I declare a arrray in Ionic and use?
To add elements to an array, do so: MyFunction() { this.$orders.push({id: 230, description: 'descricao numero duzentos e trinta '}); console.log('Observe->', this.$orders[0].id,…
-
0
votes1
answer157
viewsA: Create array with Firebase return data
You will only be able to see the content on the console when the list is finished receiving the asynchronous data from the server. Use ASYNC/AWAIT. Give a study on ASYNC/AWAIT, it is very important…