TWebDateTimePicker and TWebDBDateTimePicker : Min and Max Dates

Does anyone know of a way to set the min and max dates allowed on the TWebDateTimePicker and TWebDBDateTimePicker other than validating after they are selected? Thanks

What you can do for now for example:

       WebDateTimePicker.ElementHandle.setAttribute('min', '2024-07-01');
       WebDateTimePicker.ElementHandle.setAttribute('max', '2024-07-31');

We'll look to expose properties for this.

1 Like

Thanks Bruno, that's good enough for me ;-)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.