Skip to content

DATETIMEPICKER value issues #3

@MGibs2714

Description

@MGibs2714

Similar to the issue reported with CHECKBOX:

After using @formadd to create a DATETIMEPICKER control, it doesn't appear that you can set the initial value of the DATETIMEPICKER (using the @FormSet until after the form is shown using @Showform,

This is different behavior than the NUMERICUPDOWN control, which allows me to do a @formadd and immediately follow that with @FormSet to set the value of the control.

Also, the only way I was able to set the initial date for a DATETIMEPICKER control was to set the Text property using @FormSet. But after the form is displayed the Text property retrieved using @FormGet always returns the initial value set the @FormSet, ignoring any changes made while the form was displayed.

What is the proper way to set the initial value of a DATETIMEPICKER control?

And what is the correct way to retrieve the final value after user interaction? (I tried using Value, Date, and DateTime as properties with @FormGet and none of them returned anything.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions