TimePicker Dropdown onChange event firing on blur

I’m not sure if this is a bug or deliberate. Hopefully, a bug.

When using the TimePicker, the onChange event fires as follows:

  • Text Only: On Blur

  • Stepper: On Change (like the Date Picker)

  • Drop Down: On Blur

It would make more sense if it worked as follows:

  • Text Only: On Blur

  • Stepper: On Change (like the Date Picker)

  • Drop Down: On Change (like the Date Picker)

i.e. the Time Picker Stepper and the Drop Down change events should trigger the same way as each other and as the Date Picker.

The “bug” is easily replicated using the following code:

export function timePicker_change(event) {
    $w('#textTimePickerValue').text = $w('#timePicker').value
}