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.

Angular 5 using material, jasmine karma test fail with mat-icon

I'm trying to run jasmine karma with ng test Surprise with all the issues with Angular Materials. I see example …

angular angular-material karma-jasmine angular-material2
Switch between vertical and horizontal stepper material

How to switch between mat-vertical-stepper and mat-horizontal-stepper from angular component with same stepper steps?

angular-material2
Angular 2 Material MdSnackBar no Provider

I want a simple Snackbar popping up on the click of a button. But I always get the error: ERROR …

angular material-design angular-material2 snackbar
Angular Material Mat-Stepper: How to use the same formgroup for multiple steps?

This is my form group. I'm using a form group inside another one: this.shopGroup = this.fb.group({ _user: [''], …

javascript angular typescript angular-material2 angular-material-stepper
Angular material tree expand a particular node

I have seen various examples to expand all nodes in mat-tree using expandAll() Is there any mechanism to expand a …

angular tree angular-material2 expand
FormArray inside Angular Material Table

Note: I succeded doing FormArray inside classic HTML Table, as seen below . I want to have a FormArray inside Angular …

angular angular-material angular-material2 angular4-forms formarray
Angular mat-autocomplete : How to display the option name and not the value in the input

I'm using the mat-autocomplete widget under my Angular app : <mat-form-field class="col-md-3" color="warn"> <input type="text" …

angular angular-material angular-material2 angular-material-6
Mat-select panel min-width

I'm trying to customize mat-select with multiple checkboxes. for some reason the panel get wrong min-width as below: and I …

angular-material angular5 angular-material2 angular-material-6
Angular Material 2 DataSource filter with nested object

I have angular 4 project with material 2, I want to filter the data in MatTable. DataSource filter is working fine when …

angular angular-material2
MatDatepickerFilter - Filter function can't access class variable

A MatDatePicker with a filter defined as followed: <mat-form-field class="example-full-width"> <input matInput [matDatepickerFilter]="myFilter" [matDatepicker]="picker" …

angular-material2 datefilter