These are chat archives for angular/material

Mar 2018
Mar 15 2018 10:21
hey guys, is there a way to select only months and years in datepicker, ty
Nate Gardner
Mar 15 2018 16:06
I'm having a bit of trouble with the datepicker- getting Can't bind to 'matDatePicker' since it isn't a known property of 'input'.


          <input [matDatePicker]="myDatePicker">
          <mat-datepicker #myDatePicker></mat-datepicker>

It's imported in my app module:

import { ..., MatDatepickerModule, MatNativeDateModule,...} from '@angular/material`;
@NgModule({...,imports: [ ...,MatDatepickerModule, MatNativeDateModule,...],...})
Any ideas on what to try?