Questions tagged as 'angular5'

1
answer

Email with points is not inserted in the database

Currently the project is developed with angular 5, express and a SQL database. When entering an email with points in its structure (for example: [email protected]) it does not enter them into the database. This is my code: add : func...
asked by 03.08.2018 / 00:47
0
answers

problem with POST angular5 method?

It turns out that I am doing a project with angle 5 and when saving an audience in my case ... it shows me as a result a [Object Object] I would appreciate a hand! service audiencias(anio: string, mes: string) { const httpParams...
asked by 26.07.2018 / 20:55
1
answer

Angular Reagent Forms, valueChanges does not capture the new value

I have a problem that I've been trying to solve for some time. I have 3 inputs that interact with each other to calculate the price with VAT and vice versa. I leave you a stackblitz so you can see it better. Stackblitz The problem is,...
asked by 23.07.2018 / 02:00
1
answer

How can I send the id along with an event in Typescript

I have the following defined method: elclick(id:string) { console.log('El id es: ' + id); } And my html is this: <a id="0" (click)="elclick(this.id);">Button</a> What is the way this is done?     
asked by 24.07.2018 / 21:02
1
answer

Problems to make number (Angular 5) accept decimals with comma

Hi, I have the following problem, I need that when assigning a variable of the number type to a number with decimal places with a comma (Ex 10,50) I do not stay in NaN, at the moment I only accept decimals with a point (Ex 10.50) but In my count...
asked by 12.07.2018 / 16:17
1
answer

Material Desing Lite does not load in Angular 5

Excellent day everyone, I am using Angular 5 and I am loading Desing Lite material through its CDN into the index.html of my Angular project, but when I enter the section where I am loaded the items of Material Desing Lite will not load correctl...
asked by 05.07.2018 / 18:04
2
answers

traversing an object with Angular 5

I have the following, I receive data in JSON format from a base in firebase using the following code: constructor(db: AngularFirestore, private modalService: BsModalService) { db.collection('usuarios').valueChanges() .subscr...
asked by 26.06.2018 / 23:57
0
answers

reset in angular form 5

I would like to reset a form, this works correctly. The problem is that in doing so the selected is lost: select option when loading the page: After doing% co_of% load like this: I would like the selected to stay     
asked by 16.06.2018 / 08:48
0
answers

pass as a generic service to an abstract class in angular 2

I am starting at angular and I have encountered a problem when creating a base component. I would like the AbstracTableComponent class to take care of the basic CRUD operations, and be able to reuse it with other models, but for this I need to p...
asked by 15.06.2018 / 23:44
0
answers

Group data in the view

My question arises because I need to show the data of a query to my Database in a more aesthetic way, I explain: I have a table in which I store sports teams, but each team has a group, for example when playing a qualifying tournament by grou...
asked by 14.06.2018 / 02:25