Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input before mat-datetimepicker* #78

Open
mhagnumdw opened this issue Nov 19, 2019 · 1 comment
Open

input before mat-datetimepicker* #78

mhagnumdw opened this issue Nov 19, 2019 · 1 comment

Comments

@mhagnumdw
Copy link

If the input is placed before mat-datetimepicker* the time only appears when clicking on the input.

image

problem

If it is placed after mat-datetimepicker* everything works normally.

image

ok

Versions:
Angular: 6.1.8
@mat-datetimepicker/core: 2.0.1
@mat-datetimepicker/moment: 2.0.1

@KaliaHayes
Copy link

Wow, @mhagnumdw you saved me another full-day of debugging this issue, thanks!

In my case, I have the date picker in a popup window. Upon first selecting a date & time, everything displays fine. When reopening the popup, the values are saved, but only the date is showing up - no time.

Moving input AFTER mat-datetimepicker solved it instantly.

What a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants