材质Datepicker后缀图标不可见

时间:2019-12-28 09:09:30

标签: angular-material

enter image description here嗨,我正在使用Material Datepicker,但由于某种原因,我无法获得matIcon后缀。 还有一种方法可以将日期格式更改为yyyy-mm-dd。

<mat-form-field>
        <input matInput [matDatepicker]="picker" placeholder="SelectAppointmentDate"  (focus)="picker.open()" >
        <mat-datepicker-toggle matSuffix [for]="picker">
          <mat-icon matDatepickerToggleIcon>keyboard_arrow_down</mat-icon>
        </mat-datepicker-toggle>
        <mat-datepicker #picker (closed)="input.blur()" disabled="false"></mat-datepicker>
       </mat-form-field>

 

Looking for this Kind of Datepicker please let know

寻找这种日期选择器,请告诉我

0 个答案:

没有答案