Questions tagged as 'angular'

0
answers

How to run a query in Firestore to bring more than one document

I'm developing an ionic application, and I need to fetch all the data from a document called Patient, and I also need to bring the ID of the doctor that is in another document, and also bring the specialty ID of the doctor who is in a third docu...
asked by 17.09.2018 / 17:37
1
answer

How to refresh the screen in the Angular?

Look at the code below; import { Location } from '@angular/common'; @Component({ selector: 'app-node-paginate', templateUrl: './node-paginate.component.html', styleUrls: ['./node-paginate.component.css'] }) export class NodePaginateCompo...
asked by 05.09.2018 / 17:08
1
answer

Incorrect IF condition return

I make a request in the api to get some data, and then I do a forEach and give the result to a variable this.DadosQueTaNaTela soon after I make another request in another api to get the data and do a forEach and the result I give this...
asked by 04.09.2018 / 17:50
1
answer

Syntax Error in MAP Angular6

I'm in an angular course 4, but I'm using 6, it catches me well, but every now and then there are some things that do not roll, I managed to fix most, but there's one that's making me crazy, MAP in the search method. I would need to move forward...
asked by 06.09.2018 / 15:10
1
answer

Form builder in dropbox element

I have the following form group: createFormGroup (): FormGroup {     return this.fb.group ({       description: '',       value: '',       sku: ''       type: '',     });   } where: 'type' should be the value of the dropdown. My drop:...
asked by 19.09.2018 / 20:20
1
answer

TypeScript - Error TS1206 Decorators are not valid here

I need a help, I can not run my app FRONT END, a project of the company, when I give a npm start in my terminal in the visual code, a blessed error persists, which is in @Component saying Error TS1206 Decorators are not valid here. Here is the c...
asked by 19.09.2018 / 21:05
0
answers

Navigability button does not work on Angular

Look closely at the image below; Thistestjustabovewasdoneina HTML file with CSS, and is working perfectly, but I did the same test on an Angular project with the same code and did not work correctly, what happens is that the menu with the (...
asked by 31.08.2018 / 15:21
0
answers

Value mask with ngx-mask

I'm trying to make a value mask using ngx-mask, but I'm not able to use the "." and ",". I've tried something like: <input type="text" class="form-control" specialCharacters="[',','.']" mask="000000000000" [(ngModel)]="filtraValorCustoMi...
asked by 30.08.2018 / 21:38
1
answer

Angular - HTTP interceptor return the value of a promise

I have to apply a descriptografia on the body of the return of a request via Interceptor , however the decryption method is asynchronous and returns a promisse . Here's an excerpt from the class: intercept(req: HttpRe...
asked by 30.08.2018 / 19:22
0
answers

Add a custom action - ng2-smart-table

I'm trying to add a custom action, but a new column is not added to the action, making the button overlap with the others. Code: settings = { actions: { custom: [ { name: 'Button', title: 'Button ',...
asked by 30.08.2018 / 02:44