Ng2- datepicker (1.0.6) Angular2 (2.0.0-rc.5)
当我尝试像在他们的文档中那样在 html 中使用它时,我收到了这个错误:
zone.js:484 Unhandled Promise rejection: Template parse errors:
Can't bind to 'ngModel' since it isn't a known property of 'datepicker'.
("
</div>
<div class="form-input">
<datepicker [ERROR ->][(ngModel)]="notice.date"></datepicker>
</div>
</div>
"): AddNoticeComponent@17:24 ; Zone: <root> ; Task: Promise.then ; Value: