Questions tagged as 'angular'

0
answers

Angular & Firebase - How to obtain a particular record in AngularFireDatabase?

I'm doing an app with Angular + Firebase, and I'm stuck on how to get a record and how to look for it by a certain attribute . When registering a loan with N installments, when registering it, I need to register the N installments with the resp...
asked by 30.11.2018 / 15:02
1
answer

Angle variable only takes the object if I put it inside an * ngFor, although the function should return a single object [closed]

The following Javascript code works correctly: <div *ngIf="pedido"> <div *ngFor="let pedido of pedido"> <h2>Pedido del {{ pedido.fecha | date : "dd/MM/y" }} </h2> <div> <label>fecha:...
asked by 27.11.2018 / 15:46
1
answer

Problem with variables Date in Spring Boot - Angular 6

When dealing with data of type Date I am having problems. On the server ( Spring Boot ) I am collecting a Date field from MySQL , and this information is correct in the Spring Boot Model when debugging. But if I see that call...
asked by 23.11.2018 / 21:13
2
answers

How can I show the clientName in the formbuilder?

export class UpdateUserComponent { registerForm: FormGroup; public users:Array<User> = []; public clientName: string; public password: string; constructor( private formBuilder: FormBuilder, private _userServic...
asked by 22.11.2018 / 17:19
0
answers

Generate pdf in angular

[![Ayuda amigos me genera este error][1]][1] estoy haciendo un generador de php y lo tengo de esta manera pero no me funciona ts del componente convertJsonToPdf(){ var elem = document.getElementById("generate"); var doc = new jsPDF ('...
asked by 27.11.2018 / 21:21
0
answers

Angular 6 - Does not update parent class field in daughter class view

I try to make an api RESTfull with Angular 6 and Java, which must perform the CRUD operations, until now everything seems to work correctly, except to edit and insert in Employee and Auto. The model is composed of 3 tables, Branch, Employee a...
asked by 22.11.2018 / 21:40
0
answers

set value of an object traversed by ng for, to a ng form in a hidden input in angular 7

I have a problem to pass the value of an object to an input of type hidden in an angular form, to be more exact, I have a modal in which I have a form to update a table, the problem is with NgModels and NgForms managed to send the body to my API...
asked by 21.11.2018 / 21:08
1
answer

Using Jquery & Angular Hybrid

I have a question, I hope and you can help me. I have a jquery function that I am using in angular , it is to generate datatable ... the point is that inside the function I can not use router.navigate[enlace]; $('#example...
asked by 23.11.2018 / 01:18
0
answers

Problem obtaining a parameter from the url (the ID)

I'm trying to take the id parameter that I'm passing through the url to get the whole json from just the id but by doing console.log it tells me it's undefined but the id is passed correctly by the url only that I can not get, then I have...
asked by 01.12.2018 / 14:14
0
answers

Error in angular autocomplete 4, values are loaded only once

// TypeScript Service @Injectable() export class ProductoService { url = Constantes.ROOT + '/v1/catalogo/producto'; constructor(private http: HttpClient) {} //Autocompletado public searchDescripcion(numeroDocumento: stri...
asked by 20.11.2018 / 20:49