Top "Angular-material" questions

Angular Material is an implementation of Material Design in Angular.

Set default value for angular material datePicker with angular 5

I'm using a date picker from angular material. I want to set a default value but it is not showing …

angular typescript angular-material angular-material-datetimepicker
Apply a directive conditionally

I am using Material 2 to add md-raised-button. I want to apply this directive only if certain condition becomes true. For …

angular angular-material angular2-forms angular2-directives angular-material2
Default sorting in Angular Material - Sort header

How can I change Angular Material code below, so that data-table is sorted by 'name' column, ascending order by default. …

angular angular-material
Angular Material - show mat-error on button click

I am trying to do validation using the <mat-form-field> and <mat-error>. This works fine when user …

angular typescript angular-material
NullInjectorError: No provider for MatDialogRef

I can't inject MatDialogRef as it described in documentation: https://material.angular.io/components/dialog/overview When i'm trying to …

angular typescript angular-material angular5
Angular material: MatDatepicker: No provider found for DateAdapter

I'm trying to use the Datepicker component in Angular Material. Here is my HTML code: <input matInput [matDatepicker]="picker" …

javascript angular angular-material
Angular Material and changing fonts

Just wondering how I can change default fonts in Angular Material ... The default is Roboto and I couldn't find a …

angular angular-material
Is it possible to make an md-button smaller?

I want my buttons showing left- and right arrow and NOW text to be as small as possible. How do …

css angularjs material-design angular-material
Using Bootstrap for Angular and Material design for Angular together

I'm working on a project with this template. The template is written using AngularJs and Bootstrap-UI (bootstrap for angular) and …

angularjs twitter-bootstrap angular-ui-bootstrap angular-material
Angular 5 FormGroup reset doesn't reset validators

I have a form on my page and when I call FormGroup.reset() it sets the forms class to ng-pristine …

html angular typescript angular-material angular-reactive-forms