DatetimeSelector widget's protected methods: onDateEdited(), onTimeEdited(), and onTimeZoneChanged() do not include the previous value from the "evt" struct passed into them with the "evtOut" struct they then pass to the ValueChanged callback in App Designer.
Result is that the callback exposed within App Designer's Code View will always have "event.PreviousValue" equal "[ ]".
|
function onDateEdited(obj,evt) |
DatetimeSelector widget's protected methods: onDateEdited(), onTimeEdited(), and onTimeZoneChanged() do not include the previous value from the "evt" struct passed into them with the "evtOut" struct they then pass to the ValueChanged callback in App Designer.
Result is that the callback exposed within App Designer's Code View will always have "event.PreviousValue" equal "[ ]".
widgets-toolbox/widgets/+wt/DatetimeSelector.m
Line 316 in 4028f19