bug(Datepicker): opened @Input doesn't work well with strictTemplates #20249
Labels
area: material/datepicker
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
https://stackblitz.com/edit/components-issue-f5gvy1
Steps to reproduce:
null | undefined | ''
toopened
;Expected Behavior
Accept
null | undefined | ''
asdisabled
andtouchUi
.Actual Behavior
You can't use
<mat-datepicker opened>
or<mat-datepicker [opened]="opened$ | async"
withstrictTemplates
enabled.Environment
Angular CLI: 10.0.5
Node: 13.7.0
OS: darwin x64
Angular: 10.0.8
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.1000.5
@angular-devkit/build-angular 0.1000.5
@angular-devkit/build-optimizer 0.1000.5
@angular-devkit/build-webpack 0.1000.5
@angular-devkit/core 10.0.5
@angular-devkit/schematics 10.0.5
@angular/cdk 10.1.2
@angular/cli 10.0.5
@angular/flex-layout 10.0.0-beta.32
@angular/material 10.1.2
@ngtools/webpack 10.0.5
@schematics/angular 10.0.5
@schematics/update 0.1000.5
rxjs 6.6.2
typescript 3.9.7
webpack 4.43.0
The text was updated successfully, but these errors were encountered: