Questions tagged as 'angular'

1
answer

Add value in an input according to selection of an angular / ionic combobox

I have an input text and I need it when I choose an option in a combobox to receive this value, but without deleting what is already written. What I've tried: <ion-textarea name="resposta" #resposta value="{{insercaorapidasistema}}{{res...
asked by 03.08.2018 / 18:47
1
answer

Display all text on the button

Hello! Is it possible to display all button text on it? Youareautomaticallyaddingtheseellipsis,butwouldliketodisplaytheentiretext.<ion-segment-buttonvalue="Bareserestaurantes" class="round-button" (click)="selecionaprodutoscategoria(2)"&g...
asked by 07.08.2018 / 21:09
1
answer

I can not test my Ionic application

I'm having a lot of trouble testing my Ionic application. As it has HttpClient requests, I'm having issues with the Cors. I thought about generating the production build and testing on my cell phone, so I tested: cordova build android --prod...
asked by 07.08.2018 / 17:17
0
answers

* ngFor with ngModel and value

I have the following repeat structure: TS resposta: string[]; HTML: <ion-card *ngFor="let pergunta of perguntas; let i = index"> I have a ngModel that I need to print the value of it in its value: <ion-textarea nam...
asked by 03.08.2018 / 22:07
0
answers

How to create a user through a user already created with Firebase Auth?

Create a user through another user with Firebase Authentication I need to create an account, and from this account create other users who will have access to the same records as the main account database. It should be taken into account t...
asked by 30.07.2018 / 16:12
1
answer

Transform html image into angular blob

I have the following image: <img id="preview" class="cropped rounded-circle align-center animated fadeIn" width="220px" height="220px"> I need to pass it to a function that will convert to base 64, but to convert to base 64, my image...
asked by 27.07.2018 / 19:15
0
answers

Turbo Table with Checkbox - PrimeNG

Hello, I'm using TypeScript, Angular 5, PrimeNG and Java for ERP system development. My front has a screen so that the user can choose the days of operation of the establishment. This screen has a turbo table and one of the columns is a checkbox...
asked by 10.08.2018 / 08:08
0
answers

doubts about ng-select property "loading"

Well, I need some help! Can anyone explain to me what ng-select's "loading" property is and how it works?     
asked by 31.07.2018 / 15:30
1
answer

How to iterate array inside an angular / ionic ngFor

I have the following template: export interface Perguntas{ historico:[{id_historico: number, resposta_historico: string}] } In my ts file I perform an http request for a service that returns this data to me, if I give a console.log (th...
asked by 02.08.2018 / 19:28
1
answer

My jquery function stops working when I change route

I have a jquery function responsible for cropping a photo when a photo upload occurs: document.addEventListener('DOMContentLoaded', function() { function readImage() { if (this.files && this.files[0]) { var fil...
asked by 26.07.2018 / 13:22