angular/components

DatePicker not showing initial value when using MomentAdapter

Open

#13,264 建立於 2018年9月22日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)TypeScript (24,044 star) (6,650 fork)batch import
P3area: material/datepickerhelp wanted

描述

Bug, feature request, or proposal:

Bug

What is the expected behavior?

The datepicker should show the initial value when provided.

What is the current behavior?

It does not

What are the steps to reproduce?

https://stackblitz.com/angular/kbyqgkdyyjo?file=app%2Fdatepicker-moment-example.ts

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Latest Angular. Chrome 69.0.3497.100 FireFox 62

Is there anything else we should know?

It is working here for some reason. https://material.angular.io/components/datepicker/overview#choosing-a-date-implementation-and-date-format-settings

貢獻者指南