Questions tagged as 'angular5'

1
answer

Error with autocomplete in Angular, values are duplicated

I am trying to use the autocomplete of angular material, but when leaving them inside a ngFor to be dynamic (I need to create a list of items) the value of the last thing that I wrote in any of them is duplicated, Code with the problem link...
asked by 28.06.2018 / 22:23
1
answer

Error: StaticInjectorError (AppModule) [HttpClient]:

I have the following code in TypeScript, the problem is placed when the constructor passed the variable validarUsuario gives me this error in the browser console:    Error: Error: StaticInjectorError (AppModule) [HttpClient] What i...
asked by 18.07.2018 / 21:31
2
answers

The property 'map' does not exist in the type 'ObservableUser'

I am new at angular and I try to work with the library rxjs but it always gives me an error that the observable object does not exist which I import it in the following way: import {Observable} from 'rxjs/Rx'; which is the way I...
asked by 27.05.2018 / 22:15
1
answer

Angular form 5 typescript

I would like a help with this modal, I want to pass the value of the form to a function and I do not know how. angular position 5 <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>...
asked by 18.04.2018 / 02:19
1
answer

Online game - 1 vs 1 (IONIC 3 & ANGULAR 5) [closed]

Could someone give me some guidance on how to play online from my application? I've been looking for things but I can not find something with which to consider something similar or something that comes close to what I want to do. Basically...
asked by 16.04.2018 / 21:43
1
answer

problem with http get angular 5

The problem is that the method is returning me undefinded the code is getLugares() { this._http.get(this.url + 'lugar') //usar la url que corresponda .map(res => res) .subscribe( res => this.lugares=re...
asked by 07.04.2018 / 19:21
2
answers

Validate an input field, not null in HTML

I am working with the angular framework and in one of the components I have an html to do a login which I want to validate. I have tried to use the 'required' specifier and it does not affect it at all. Could you help me? <input type="text...
asked by 19.04.2018 / 13:46
1
answer

ngfor prints messy

I have problems with a chat I'm doing with angle 5 and firebase, I show the messages with the ngFor send them to me randomly. <div class="alert alert-{{item.color}} mt-2" role="alert" *ngFor="let item of items"> {{item.user}} dic...
asked by 19.04.2018 / 03:03
1
answer

Identify Devices in Angular 5 [closed]

How can I know which device was connected to my angular application? I would like to identify it to be able to make only devices ios can connect.     
asked by 18.03.2018 / 20:36
1
answer

Angular within aspx page

I made an application in Angular 5 and it must be loaded in an aspx page; I tried using an iframe but it does not load me, so my second option was to use jQuery and load the page in a div: this is my code <script> $(document).ready(fu...
asked by 05.04.2018 / 19:08