Top "Angular-material2" questions

Angular Material is an implementation of Material Design in Angular 2/4/5/6. DO NOT use this tag for AngularJS Material questions.

mat-form-field must contain a MatFormFieldControl

We are trying to build our own form-field-Components at our Company. We are trying to wrap material design's Components like …

angular angular-material2
Angular Material: mat-select not selecting default

I have a mat-select where the options are all objects defined in an array. I am trying to set the …

angular typescript angular-material2
Can't bind to 'formControl' since it isn't a known property of 'input' - Angular2 Material Autocomplete issue

I am trying to use Angular Material Autocomplete component in my Angular 2 project. I added the following to my template. &…

angular typescript angular-material2 angular-forms
'mat-form-field' is not a known element - Angular 5 & Material2

I'm trying to use <mat-form-field> in an Angular project using Material2 but I've hit a wall. Getting the …

angular typescript angular-material2
No value accessor for form control with name: 'recipient'

I got this error after upgrading to Angular 2 Rc.5. This is my component template: <md-input [(ngModel)]="recipient" name="recipient" …

angular typescript angular-material2
How to add icon to mat-icon-button

I am using Angular with Material <button mat-icon-button><mat-icon svgIcon="thumb-up"></mat-icon>Start Recording&…

angular-material2 angular5
Angular2 Material Dialog css, dialog size

Angular2 material team recently released the MDDialog https://github.com/angular/material2/blob/master/src/lib/dialog/README.md I'd …

css angular angular-material angular-material2
Checkbox angular material checked by default

I am trying to use an Angular Material checkbox, and set it by default as checked, but it is displayed …

angular checkbox angular-material angular-material2
How to set the color of an icon in Angular Material?

I have this, which I would assume to work, but doesn't: <mat-icon color="white">home</mat-icon> …

angular angular-material angular-material2
Material radio button change event Angular 4

I am trying to use the change output of an md-radio-buttons as follows: <md-radio-group [(ngModel)]="selected"> <md-radio-button *…

angular angular-material angular-material2