angular/components

DatePicker not showing initial value when using MomentAdapter

Geschlossen

#13.264 geöffnet am 22.09.2018

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (6.650 Forks)batch import
P3area: material/datepickerhelp wanted

Repository-Metriken

Stars
 (24.044 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 12h) (98 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide