TWebDateTimePicker Binding Issue

The TWebDateTimePicker component seems to have some unexpected behavior when unbinding the ElementID.
Binding the element by assigning ElementID works correctly, but detaching it by assigning
ElementID := ‘‘ duplicates the element.
The problem could be avoidable by having the TWebDateTimePicker inside a <div> and using that for the binding, but since the component itself already creates a <div>, I don’t feel like that should be a necessary step.

In the attached demo the “< Bind >” button binds the control to either the first or second div, while the “Unset ID” button detaches the element as explained above.

The bottom example does the same thing but with a TWebEdit, for reference.

DateTimePicker Binding.zip (58.1 KB)

We could trace & solve this issue. The next update will address this.

I can confirm that the duplication problem has been fixed in version 3.0.0.0 but enabling/disabling the control is now impossible after binding it via ElementID. I've attached a slightly modified version of the previous demo with the addition of a button to Enable/Disable the control.

DateTimePicker Binding.zip (61.0 KB)

Thanks for reporting.
We traced & solved this issue. The next update will address this.