Closed
Description
Reproduction
Steps to reproduce:
- If you try to use
dateInput
ordateChange
outputs withmatStartDate
ormatEndDate
directives in IDE which uses Angular language service for Angular template validation, you'll see that those outputs are marked as invalid:
Expected Behavior
IDE should not complain about dateInput
and dateChange
outputs since they are valid.
Actual Behavior
IDE displays error indicating that those outputs are invalid even they are valid.
Additional information
This does not happen with matDatepicker
directive. When used with matDatepicker
, those outputs are recognized by the Angular language service.
Environment
- Angular: 10
- CDK/Material: 10.2.6