<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to CODESYS Date/Time Picker in Dialog does not update value on close (focus issue) – any workaround?</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f1ac9b3203/</link><description>Recent posts to CODESYS Date/Time Picker in Dialog does not update value on close (focus issue) – any workaround?</description><language>en</language><lastBuildDate>Wed, 20 May 2026 10:15:11 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/forge/talk/Engineering/thread/f1ac9b3203/feed.rss" rel="self" type="application/rss+xml"></atom:link><item><title>CODESYS Date/Time Picker in Dialog does not update value on close (focus issue) – any workaround?</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f1ac9b3203/?limit=25#e2bf</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have seen similar behavior with some visualization controls in CODESYS. It seems the Date/Time Picker only commits the value after losing focus, so closing the popup immediately with the OK button can skip the update. One possible workaround is forcing focus to another control before closing the dialog or adding a short delay before executing the close action.&lt;br/&gt;
&lt;a class="" href="https://geometry-dashlite2.io/" rel="nofollow"&gt;Geometry Dash Lite&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">charleskirkland</dc:creator><pubDate>Wed, 20 May 2026 10:15:11 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comc136ab3c47497e98068ff902b7fb6b98892753df</guid></item><item><title>CODESYS Date/Time Picker in Dialog does not update value on close (focus issue) – any workaround?</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/f1ac9b3203/?limit=25#0326</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I am working with CODESYS 3.5.21 and using the Date/Time Picker inside a dialog (popup visualization).&lt;/p&gt;
&lt;p&gt;I noticed a behavior that seems problematic:&lt;/p&gt;
&lt;p&gt;The Date/Time Picker does NOT update the bound variable immediately.&lt;br/&gt;
It only updates when the control loses focus/select.&lt;/p&gt;
&lt;p&gt;This causes an issue in my dialog:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;User selects a new date/time&lt;/li&gt;
&lt;li&gt;Immediately presses OK (which closes the dialog)&lt;/li&gt;
&lt;li&gt;The new value is NOT saved&lt;/li&gt;
&lt;li&gt;The variable still contains the old value&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So it seems the Date/Time Picker still holds the value internally and does not commit it before the dialog is closed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">phuvutran</dc:creator><pubDate>Wed, 20 May 2026 09:43:08 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.coma0c725181b4a157cfd4621ccbdb587ba92044921</guid></item></channel></rss>