Commit Graph

3 Commits

Author SHA1 Message Date
Dominik Csapak
731df80da0 DateTimeField: implement set{Max, Min}Value
this sets the max/min value for the underlying date and time fields,
and allowing to only change the value respecting both current date
and time fields
e.g.
if the new maxValue is 2020-10-10 12:00
and the current value is 2020-10-09 15:00
do not allow to set the date to 2020-10-10
and vice versa (if the new limit is on the same day, limit the time range)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-24 17:02:31 +02:00
Dietmar Maurer
00ecc6db47 DateTimeField.js - relay change events 2017-09-21 09:36:36 +02:00
Dietmar Maurer
2e7bd1dcba form/DateTimeField.js - new widget to select Date with Time 2017-09-20 12:42:42 +02:00