Questions tagged as 'angular5'

0
answers

How to project a template in a component n times?

I want to create a dynamic component, 'o-grid' that given a template defined in the 'o-grid-item' component, create as many o-grid-items as items have an array of data defined in o-grid component. <o-grid #grid attr="grid" cols="3">...
asked by 03.09.2018 / 17:03
1
answer

Error executing the ng generate component command

I updated my angular project 4 to 5 and everything works fine. But when I execute the ng generate component nameComponent command it throws me this error Schematic input does not validate against the Schema: {"path":"/src/app/...","pref...
asked by 29.08.2018 / 18:26
0
answers

Problem with POST in angular 6 and ajax to send forms to formspree

I'm a bit new to Angular and I was trying to use the link service when I found out that the forms could not execute the POST method, here the code of my form <form class="form" [formGroup]="contactForm" method="POST" (ngSubmit)="onSub...
asked by 28.08.2018 / 05:43
0
answers

How can I consume a WCF SOAP service from Angular 6?

I tried to do it with two libraries: ngx-soap and soap, so far I could not. This is a service that tries with the ngx-soap library. import { Injectable } from '@angular/core'; import { NgxSoapService, ISoapMethod, Client, ISoapMethodRespons...
asked by 23.08.2018 / 03:09
1
answer

input file does not recognize the type 'application / x-iwork-keynote-sffkey' in Angular 5

Hello !, I have a component for input file to load files .cer and .key . The problem I have is that I do not recognize the extension application / x-iwork-keynote-sffkey and the tipo of the document returns it as...
asked by 13.08.2018 / 23:34
0
answers

Observableany angular error 5

   Argument of type '(e: any) = > void 'is not assignable to parameter of type' (err: any, caught: Observable) = > ObservableInput < {} > '   Type 'void' is not assignable to type 'ObservableInput < {} >'.     
asked by 08.08.2018 / 11:21
1
answer

Parse a map to JSON

I am consuming an API from angular, my problem goes when I want is to fill an autocomplete chip data for that I am using angular2-materialize, but according to its structure it should look like this: autocompleteInit = { autocompleteOptions:...
asked by 03.08.2018 / 14:53
0
answers

IONIC 3-4 HTTP HEADERT

I'm doing a GET request with header, which has basic Auth, I'm getting the following error link it seems that it is not sent let token = "Basic ************="; let headers = new HttpHeaders({ "Content-Type": "application/js...
asked by 02.08.2018 / 20:10
1
answer

angular form

Good I'm doing a product registration with angular, and in one of the "inputs" I want to add "tags" until now I do not know how to make my form add several "tags" and send them to the backend, some idea of how to do it     
asked by 04.08.2018 / 02:40
0
answers

How to solve a problem with isBefore () in Angular 5?

I find a situation where I have to schedule a valuation on a calendar using angular but my problem is that it can only be possible to schedule on dates after the current day, including the current one, my code is as follows. onDayClick(e) {...
asked by 28.07.2018 / 00:32