Questions tagged as 'angular-material'

1
answer

How can I run a controller without opening the view?

I am working with AngularMaterial specifically with $mdDialog when I enter the dialog my controller works, now what I need is to be able to run the controller without opening the view of the dialog. this is the function that contains the...
asked by 28.09.2017 / 20:27
2
answers

Can not bind to 'matDatePicker' since it is not a known property of 'input' [closed]

I'm having trouble including the angular material datepicker in my application. In my app.module.ts I import it like this: import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsMo...
asked by 25.04.2018 / 09:25
1
answer

How to use a controller function in another ANGUALRJS controller

I am doing a REST where I try to call in a function, a function of another controller, but with $parent I do not show the function in the console nor with $scope , the function that I try to call is this $scope.getInsuranc...
asked by 19.12.2017 / 21:06
1
answer

Update the value of the formcontrol in keyup

I am trying to make the text capitalized when writing in the inputs, but this is not saved in the form control value. <mat-form-field> <input matInput formControlName="nombre" (keyup)="$event.target.value = $event.target.value.toU...
asked by 12.12.2018 / 17:41
0
answers

Position scroll on the page and not on the Angular Dialog-Material

How can I make the scroll of dialog of the page and not the dialog , I think it can be done with css , but I've tried not to achieve a solution. <html lang = "en"> <head> <link rel = "s...
asked by 12.01.2018 / 20:31
1
answer

Execute expression when you finish fetching data using Http AngularJs

I am trying to make that when I give click to checkbox an expression is executed when it has finished bringing the datos of the function getUsers() , apparently it works fine. But then what I want to do is to deact...
asked by 31.10.2018 / 14:26
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

Include an own module in another Angular 5

My question is: How can I import modules from Angular material in my own module, and then import that module in app.module.ts?. This is my personal module: import { NgModule } from '@angular/core'; import { BrowserAnimationsModule } from '@...
asked by 25.04.2018 / 14:35
1
answer

Unexpected behavior using Angular Material

I'm making an application using Angular 2. I have followed the steps described in the official documentation to use Angular Material in my application. (Except the SystemJS mappings which I am not using) Everything seems to work correctl...
asked by 21.02.2017 / 17:49
0
answers

Error in angular autocomplete 4, values are loaded only once

// TypeScript Service @Injectable() export class ProductoService { url = Constantes.ROOT + '/v1/catalogo/producto'; constructor(private http: HttpClient) {} //Autocompletado public searchDescripcion(numeroDocumento: stri...
asked by 20.11.2018 / 20:49