Questions tagged as 'angular'

2
answers

Post Angular Method

Hello, I'm developing an application using BackEnd as ASP.NET C #, and with Front Angular5! I'm doing a post method for the first time and it's not flowing well! In the BackEnd I have a method as follows: [HttpPost, Route("api/usuario/no...
asked by 19.04.2018 / 07:19
2
answers

The 'map' property does not exist in type 'Observable Response'

I'm using version 6 of Angular and found an error when using Observable. It says that the map property does not exist in the Observable type. my code is like this. import { Observable } from 'rxjs/Observable'; import { Injectable } from '@angu...
asked by 24.05.2018 / 07:35
1
answer

Increase Ionic 3, Angular, Typescript

I'd like to know how to increase the expiration date of a purchase. Example: the person made a purchase, and placed the due date for the 30th of March, so the date of the second installment would be April 29th. Follow the function and the HTML c...
asked by 27.03.2018 / 17:06
2
answers

How to declare an array in javascript that will receive an array of JSON

Given the interface: export interface Pergunta { id: number titulo: string opcoes:[] } I want the array array to receive its array of options: { "id": "1", "titulo": "Qual o seu comportamento em relação aos seus invest...
asked by 13.03.2018 / 20:16
1
answer

doubts with jsPdf - definition of columns

I have the following json { "MedPaciente": [ { "ProdutoModel": { "LaboratorioModel": { "id_laboratorio": 7951, "nome": "BOEHRINGER INGELHEIM", "data_cad": "28/12/2017",...
asked by 17.02.2018 / 16:45
1
answer

Implementing search with Angular 4

Look at the image Theuserwilltypeinthetitlefieldtosearchthetable,butanerrorappearsinthebrowserconsole TheerrormessagestatesthattheproblemisinthesearchmethodintheHTMLfile,righthere;<formautocomplete="off" (ngSubmit)="pesquisar()"> Th...
asked by 28.03.2018 / 20:55
1
answer

'_ $ visited' property on JavaScript object on return of mapv () function from Obervable

I have a WebService implemented with JAX-RS and I'm consuming it with a service ( utilizando Angular 2 ) Follow the service: @Injectable() export class ModeloService { constructor(private http: Http) { } getAll(): Obser...
asked by 17.01.2018 / 18:22
1
answer

How to apply javascript events in Angular?

I'm having a hard time applying Javascript in my Angular project, I got it right in the configuration to connect the javascript in the project, but come on ... This is the Javascript file; var Brewer = Brewer || {}; Brewer.MascaraCpfCnpj =...
asked by 24.01.2018 / 21:17
2
answers

How to format the select option with bootstrap in an angle?

Look at the image below: YoumaynoticethatthezipfieldisverydifferentfromtheStateandCityfield,CEPisduetoAngularPrimeNgfeaturesandtheStateandCityfieldarenotinheritingthesesettingsduetotheuseoftags.I'vealreadymadeseveralattemptstoformattheStatea...
asked by 07.02.2018 / 13:05
2
answers

Generating Barcode (bank slip) with Angular

I have an application running in angular 5 (using angular cli), I'm performing integration with a payment medium, I already have all the data needed to generate the ticket, then the headache started, generate the barcode. I tried to use some JS...
asked by 29.01.2018 / 23:01