Project

General

Profile

Feature #8759

Feature #7894: Add more HTML5 input types

Add a WDateTimeEdit

Added by Roel Standaert 3 months ago. Updated about 2 months ago.

Status:
InProgress
Priority:
Normal
Assignee:
Target version:
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.

#1

Updated by Roel Standaert 3 months ago

  • Description updated (diff)
#2

Updated by Roel Standaert about 2 months ago

  • Status changed from New to InProgress

Also available in: Atom PDF