phuvutran - 16 hours ago

Hi everyone,

I am working with CODESYS 3.5.21 and using the Date/Time Picker inside a dialog (popup visualization).

I noticed a behavior that seems problematic:

The Date/Time Picker does NOT update the bound variable immediately.
It only updates when the control loses focus/select.

This causes an issue in my dialog:

  • User selects a new date/time
  • Immediately presses OK (which closes the dialog)
  • The new value is NOT saved
  • The variable still contains the old value

So it seems the Date/Time Picker still holds the value internally and does not commit it before the dialog is closed.