angular/components

DatePicker not showing initial value when using MomentAdapter

クローズ

#13,264 opened on 2018/09/22

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (6,650 件のフォーク)batch import
P3area: material/datepickerhelp wanted

Repository metrics

Stars
 (24,044 個のスター)
PR merge metrics
 (平均マージ 3d 12h) (30d で 98 merged PRs)

説明

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

コントリビューターガイド