Questions tagged as 'angular'

0
answers

Application configuration error in Angle 2x

I made some ***** in the advice that Visual Studio Code gives in some configuration file and what was working perfectly well, now when running ng serve gives the following error: ERROR in ./src/app/app.module.ts Module not found: Error:...
asked by 27.11.2018 / 14:53
0
answers

Loop taking only the first IONIC record 3

I need to compare the offline records individually, with the records of my webservice, if it exists it does Update, otherwise it does Insert. But my SQL query only gets on the first record, and it is falling on my IF and Else simultaneously. Her...
asked by 27.11.2018 / 14:26
1
answer

Repeating structure not verifying null elements?

I have two repeating structures that traverses my element and checks to see if the "attribute attribute" is null. If my object has two elements, only the first id attribute is being printed. The second is null, I made a validation to zero the...
asked by 21.11.2018 / 12:53
0
answers

Javascript does not work on localhost but works on the server

I have a project that has a graph generated by javascript and angular logo on the home page after a login, however, in my localhost this graphic was never shown and I got to a part of the work in which I need to move it, however, without seeing...
asked by 14.11.2018 / 19:48
1
answer

ERROR Error: Can not find a supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays

I'm trying to display a list using ngFor but it's giving this error: ERROR Error: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays. Can someone tell me why?...
asked by 21.11.2018 / 01:46
0
answers

About performance in variable typing in functions and variables in typescript

Is there a difference in typescript performance when using variable typing compared to any? Example: minhaString: any; minhaString: string; I would also like to know if there is a difference in typing the function return, eg: minhaFunc...
asked by 22.11.2018 / 17:45
0
answers

Show card only when it has attributes

I have a * ngFor that repeats cards according to the number of variations: <ng-container *ngFor="let item of variacoes.controls; let i = index;"> <div class="animated fadeIn col-md-3 paddingbotcard" [formGroup]="item">...
asked by 12.11.2018 / 19:56
0
answers

Invalid Form - Angular 4.3

Imagine that by clicking on the (edit) icon of a grid that represents a record, the user is directed to the other screen where the details of the record are shown. I will represent below with just one field to simplify: On the screen I sh...
asked by 21.11.2018 / 23:18
0
answers

Problems adding array to a formGroup

I have the following form group: variacaoForm: FormGroup; This form group has a control called variacoes . I need to add an array in this control in a certain index passed as a parameter in my function, the problem is that the vari...
asked by 13.11.2018 / 12:33
1
answer

Change inputfile label when already has a selected file Angular

I have the following input file that uploads an image and transforms it into base64: <div class="image-upload"> <img class="fotoAnimal" [src]="imageSrc" style="max-width:300px;max-height:300px"/>...
asked by 19.11.2018 / 21:51