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

Bug with ZK-3769: Specify a default time for Datebox #1700 #3127

Open
Fingofin40 opened this issue Jan 23, 2024 · 0 comments
Open

Bug with ZK-3769: Specify a default time for Datebox #1700 #3127

Fingofin40 opened this issue Jan 23, 2024 · 0 comments

Comments

@Fingofin40
Copy link

Hello first time reporting a bug here. Unable to report this using the ZK Tracker so write it here instead.

In 2019 a feature was added to ZK to allow the user to set a default datetime value for the . This works fine for the drop down menu when clicked and the user chooses a date and time. However this does not help if the user instead uses tab to enter the datebox field and instead types the date they want. In this case the time is instead set to the current time.

See here that the dropdown does indeed show the time as 00:00.
image

But if i just write the date, in my case 2024-01-22 and hit tab this happens:
image

It would be great if the defaultDateTime also helped set the correct time and date if the user fills in a date, or even part of a date and then if a defaultDateTime is set use that to fill in the rest that the user left out.

The PR that added the defaultDateTime functionality: #1700

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