Questions tagged as 'angular4'

1
answer

Problems in angular4 / java: lose server sessions

I have two http requests, in one the REST service saves the request import { Injectable } from '@angular/core'; import { HttpHeaders,HttpResponse } from '@angular/common/http' import { Observable } from 'rxjs'; import 'rxjs/Rx'; import { Route...
asked by 19.11.2017 / 18:39
1
answer

Problem: "Function in ngFor runs multiple times without stopping"

HTML: <input #inputCodigo type="text" (keyup)="searchProductoBarCode($event)"> </div> </article> <article *ngIf="proforma && proforma.productos.length"> <table #tableDispatch tabindex="-1" [attr.role]="...
asked by 15.01.2018 / 21:20
1
answer

Error Can not resolve all parameters for EditPage when reloading my Ionic App with -ionic serve

I have this error when reloading my Ionic App with -ionic serve :    Error: Can not resolve all parameters for EditPage: ([object Object],   [object Object], [object Object],?). This is the EditPage typescript ( edit.ts ): import { Com...
asked by 13.03.2018 / 16:32
1
answer

Consume JSON with Angular. Error

I am trying to consume a json with angular and it is giving me the error:    TS2322 error: Type 'Observable < {} | Test > ' is not assignable to type 'Observable'.     Type '{} | Test 'is not assignable to type' Test '.       Type '{}'...
asked by 07.03.2018 / 14:49
0
answers

FormGroup and ReactiveFormModule does not detect a hidden field of my form

Friends of StackOverflow as I do so that in angular 5 and ReactiveForm I detect a field in hidden. This is my code for my component. import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@ang...
asked by 01.03.2018 / 22:54
0
answers

FormBuilder, FormGroup and ReactiveFormModule does not detect changes in a file type input in chrome

Hello friends of Stack I have a problem, I am using FormBuilder, FormGroup, Validator and ReactiveFormModule in my project to validate the fields of a form. In this form I have an INPUT of type FILE, in Firefox it has worked well for me, but...
asked by 01.03.2018 / 18:00
1
answer

use function js of external file inside angular component 2/4/5

my question is this, I have 2 functions in JavaScript function checked(id) { document.getElementById(id).checked = true;} function unChecked(id) { document.getElementById(id).checked = false;} I use these for not being able to check a che...
asked by 26.02.2018 / 17:13
1
answer

angular4 error: I get an error when publishing multiple style sheets

the angular.cli.json is the one that follows { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "project": { "name": "daoiz-y-velarde" }, "apps": [ { "root": "src", "outDir": "dist", "ass...
asked by 27.02.2018 / 13:51
0
answers

Obtain cookies from the header response in ionic 3

I'm working on Ionic 3 and I need to get the response of the cookies from the headers. look at that: Set-Cookie:.AspNet.TwoFactorCookie=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT Set-Cookie:.AspNet.ExternalCookie=; path=/; expires=Thu, 01...
asked by 25.02.2018 / 06:54
0
answers

angular4 inside iframe IE11 does not work

my problem is as follows, I have an application in angular4 that is living inside an iframe of a page that is not made in angular, so far so good, the problem is that when I see the page from Internet explorer 11, my angular application (the one...
asked by 20.02.2018 / 22:53