Category: material-design

I am using mat-datepicker when I am clicking outside date picker should close?

<input id="input-lossdate" aria-labelledby="input-lossdate" matInput [matDatepicker]="picker" formControlName="dateAndTime" autocomplete="off" (keypress)="keyDown($event)" (focus)="resetplaceholder($event)"> <mat-datepicker-toggle matSuffix [for]="picker" tabindex="-1"></mat-datepicker-toggle> <mat-datepicker #picker tabindex="-1"></mat-datepicker> Source: AngularJS Questions

Continue reading