Feature #8759
Feature #7894: Add more HTML5 input types
Add a WDateTimeEdit
Start date:
07/01/2021
Due date:
% Done:
0%
Estimated time:
Description
It would be nice if we could bundle WDateEdit
and WTimeEdit
into one widget that uses WDateTime
.
Natively, we can use an <input type="datetime-local">
: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local
For the non-native implementation, we could base it on a WLineEdit
, just like WDateEdit
and WTimeEdit
, and popup something that allows changing both the date and time at the same time. We'll need some icon that expresses this. Font Awesome does not appear to include it, but there may be other similar royalty-free icons that we can use.
The WFormDelegate
for WDateTime
should be changed to use a WDateTimeEdit
instead of a WLineEdit
as well.