Open jancborchardt opened 2 years ago
Thanks a lot @mengxiong10! :) We will change our component to reflect that. Maybe it’s good to document this way of working so others also know it’s possible, or did we miss something?
Are there anyway to retain the time panel value after selecting a new date? as the samples will reset the time to 12:00:00AM whenever a date is selected.
What problem does this feature solve? Currently when we use the datepicker e.g. in Nextcloud Calendar, it is often confusing to people that they first have to pick a date and then a time (even though they e.g. click on the part of the input which shows the time).
What does the proposed API look like? Not sure about the API, but proposed solution for this would be to make it look like the datetime-local picker does on Chromium. That way people can pick whichever![Datetime picker](https://user-images.githubusercontent.com/925062/148070698-23b3a4eb-9083-4fd9-aa4d-676c931ce593.png)
That way people can set either date or time, or both at the same time, whichever people need, and it’s not a forced 2-step flow. :)