Questions tagged as 'angular-6'

1
answer

I can not load data into an angular mat-select 6

This is my html <div class="container"> <form [formGroup]="createForm" (ngSubmit)="onPostCreateTypeFields()" style="width:400px; margin: 0 auto;"> <h1>Fields</h1> <div class="required-field-block">...
asked by 18.07.2018 / 16:00
1
answer

Run a github angular project 6

I uploaded a pro github project, I believe that because the file was very large it was "cut" some files, consequently when it is down again (using git clone) the code does not execute on the server. OPS : The original folder (which was creat...
asked by 26.07.2018 / 16:12
2
answers

How to make a console.log on the map?

Notice the algorithm in Angular findToOptions(searchValue: string): Observable<any[]> { return this.findAll(new PageParameters(15, 0, 'id,asc'), this.getSearch(searchValue), this.fields.toString(), true) .pipe( ma...
asked by 11.12.2018 / 17:33
1
answer

Function executing before the response of my request

In a modal I have a form with data that can be edited. If the user confirms the update the data is updated and then it will be forwarding the new page. But in this new page the information that appears is still old (before the update). If I give...
asked by 03.12.2018 / 18:20
1
answer

How to get the specific data of a JSON with Angle 2x?

I have an answer that I transform into JSON this way: const resposta = JSON.stringify(response); console.log(resposta); Give me feedback on console.log like this: [{"nome":"Ramos Janones","email":"[email protected]...
asked by 28.11.2018 / 17:08
1
answer

Firebase: signInWithEmailAndPassword failed: Second argument "password" must be a valid string

I'mgettingareturnnullformysecondparameternexttothesignInWithEmailAndPasswordmethod.Thiserrorinhibitedmyauthentication.publicautenticar(email:string,senha:string):void{firebase.auth().signInWithEmailAndPassword(email,senha).then((resposta:any)=&...
asked by 22.12.2018 / 03:06
1
answer

Angular Migration 5 to 6 rxjs

I'm trying to migrate a new project from Angular 5 to 6, but I'm having some difficulty in the way it changed the functions of rxjs, I'm posting below how I did it in Angular 5 and it worked the way I wanted it, a help for example doing that sam...
asked by 10.11.2018 / 23:55
1
answer

How to make a function wait for another function that has a subscribe with observable inside?

Next, I have a function that generates a PDF, this function takes a mounted array and assembles a page. After this it requests the next page to the backend through a function with a subscribe. My problem is that the function does not wait, th...
asked by 04.10.2018 / 21:36
2
answers

How do I manipulate 3 Checkbox in Angular 2?

I have 3 Checkboxes. The first option is bread, the second option is fish and the third has salt. I want to use Tamplate forms and not reactive forms. Can someone help me? <form #form="ngForm"> <label> <input n...
asked by 29.09.2018 / 18:27
1
answer

When loading list, mat-select should already be filled

This is my html <div class="container"> <div class="row"> <div class="col-md-12"> <table class="table table-striped table-bordered"> <caption> Lista de Aplicabilidad...
asked by 31.07.2018 / 23:43