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

typing the date manually and then press enter #8803

Open
ahmedrefaat1 opened this issue Sep 27, 2024 · 0 comments
Open

typing the date manually and then press enter #8803

ahmedrefaat1 opened this issue Sep 27, 2024 · 0 comments

Comments

@ahmedrefaat1
Copy link

Reproduction link

https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

typing the date manually and then press enter
In date picker
While nzFormat="yyyy-MM-dd"
And I want to not show the time
But the value after press enter
Is 2024 Sept 27 00 00 00
The time is all zero
But when you select it from datepicker
The value is 2024 Sept 27 11:08:07
I want the value of date and time in my code like the select when typing it and then press.enter
Is there anyway for solve it

What is expected?

I want the value of date and time in my code like the select when typing it and then press.enter
Is there anyway for solve it

What is actually happening?

The value after press enter
Is 2024 Sept 27 00 00 00
The time value is all zero.diffrent.than when you select it

Environment Info
ng-zorro-antd 18.1.1
Browser Chrome and all.browser

If there is a way to make the value of time be like.when you select date
And I want to show only in the datepicker date yy mm.dd
But when recive value in code.i want time.with it

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

1 participant