Questions tagged as 'angular'

1
answer

Angular: Adding array in formBuilder or some other way

I need to add an array to the formBuilder, but I do not know how to do it (can be in other ways). everything was going very well until FK appeared. I have to send company data plus phone data. Here's an example: { "cd_cidade": "7016", "...
asked by 29.01.2018 / 22:48
0
answers

Angular 2 error while executing file upload

I have a system that uploads files from an angular application 2 to a java system and saves it to a sql server database. In the angular application 2 and in the system in java I am saving in String format, and in sql server database in the forme...
asked by 26.01.2018 / 12:17
0
answers

Angular 4 turn blob into pdf and show in tag object

I have an application, currently angular 4, and would like to be able to upload files saved in the bank into formed Blob. the command below works correctly and downloads the file. downloadArquivoAnexo(documento: Documentos){ if(!docume...
asked by 30.01.2018 / 15:40
0
answers

Problem with importing Headers into the Angular

I was working with my project until one day a fragment of my project solved the import problem and generated this error when compiling: WhiledoingabriefinternetsearchIfoundthistobetheanswer: Angular2 - HTTP RequestOptions HEADERS That is...
asked by 06.02.2018 / 18:40
1
answer

Define Base Structure Firebase

How to set the structure below the JSON tree? In an Angular application, can I have multiple registered multi-patient users with multiple queries for each user and each patient in a single Firebase database? The question arises because i...
asked by 06.02.2018 / 18:50
0
answers

Angular Authentication 2 - Java Servlet

I have a problem using an API that I can not make changes to, it happens as follows, I have a servlet that extends from a security library, this library is in charge of logging, allow the methods to be used in the servlet , etc. When I go thr...
asked by 06.02.2018 / 18:23
0
answers

Autocomplete of angular material

How do I adapt the angular autocomplete for my API? I have this autocomplete component import { ListComponent } from './../list/list.component'; import { Component, Input } from '@angular/core'; import { FormControl } from '@angular/forms';...
asked by 28.01.2018 / 00:10
0
answers

Ionic 2 - Expression has changed after it was checked

People, why am I having the error "ExpressionChangedAfterHasBeenCheckedError: Expression has changed after it was checked. I'm using ionic 2, and here are my codes: Edit-Sales.ts: export class EditarVendaPage { public produto: Pr...
asked by 31.01.2018 / 17:27
0
answers

How to display data with a mask?

No input usei mask="000.000.000-00" (example). And to present these data what I use in html?     
asked by 25.01.2018 / 12:06
0
answers

HTTP request giving error in Chrome and works on Edge and Firefox

I have a problem when making an HTTP request with Angular 4, in the Edge and Firefox works without any problem, but in Chrome gives error in the Post, Options passes quietly but the Post does not pass, in the image it is easier to see the error...
asked by 24.01.2018 / 12:22