Questions tagged as 'angular'

1
answer

Error for reference service in the Angular

Good morning, I'm having trouble referencing a non-angular service. Here is an error:    ERROR in c: /Projetos/LivroAngular2/src/app/lista-pessoa-vip/lista-pessoa-vip.component.ts   (2.10): Module   '"c: /Projetos/LivroAngular2/src/app/li...
asked by 26.10.2018 / 13:24
0
answers

How to check if the user has a .pfx certificate installed on the device using IONIC v3

I'm using IONIC v3 I need the user to have a certain .pfx SSL certificate installed on their device to access an api URL. What I want to know is whether it already has this certificate or not before calling the URL. Is this possible?  ...
asked by 26.10.2018 / 16:23
0
answers

Error occurring in the Angular

Good morning! The Angular is asking to update the dependencies, both in the installation and in the creation of new projects: npm WARN deprecated [email protected]: angular-cli has been renamed to @ angular / cli. Please update...
asked by 26.10.2018 / 15:08
0
answers

Refresh select as selected from another select in angular

I have the following select: Template: <div class="select"> <select (change)="getIdTipoVariacao(item.value.tipo)" formControlName="tipo" class="select-text"> <option class="dropdown-item" selected>{{item.value.tipo...
asked by 05.11.2018 / 18:26
0
answers

How to get the id of my chosen item in my select?

I have a select that besides taking the name, I also need to get the id of my selected option. My select: <select (change)="setTipoProduto(tipoDoProduto)" [(ngModel)]="tipoDoProduto" name="tipoDoProdutoName" class="select-text">...
asked by 18.10.2018 / 13:12
1
answer

ng-change with dynamic object

Good morning, I'm using angle 2 and I'm having trouble using the 'ng-change' property after I dynamically generate the object below: <input type=text class="insert" id="input' + data.id + '" ng-model="input" ng-change="myFunction()" maxle...
asked by 18.10.2018 / 14:55
0
answers

Angle animation only works in transition "enter"

I'm trying to put a fadein / fadeout effect, but it's only working fadeIn, when hide happens the element disappears instantly. I tried: @Component({ selector: 'app-confprecificacao', templateUrl: './confprecificacao.component.html', s...
asked by 18.10.2018 / 18:30
1
answer

ngFor generating many calls

I have an array that contains 40 positions. When doing a ngFor using this array, I create a series of components within that * ngFor. The problem is that it's putting an end to the performance. Debugging, and doing a counter within that, I found...
asked by 17.10.2018 / 21:56
0
answers

Default option in select does not appear

I have a select that I want to show a label as the default option, but it is appearing blank. My select: <div class="select"> <select (change)="calculaMes(mesEscolhido)" [(ngModel)]="mesEscolhido" name="selectMesEscolhido"...
asked by 17.10.2018 / 19:20
0
answers

Pass data between different components (Parent and child) using router-outlet

I have an application and I have just implemented the router-outlet to make the page more dynamic, however I can not use @input anymore to receive data between different components. Example: Component PAI: import { Component, OnInit } fr...
asked by 18.10.2018 / 20:59