2.11 .allowundefined

This attribute determines whether the user can set the value of the object to indefinite.

Definition

  • Data type

    boolean

  • Access

    get, set

  • changed event

    yes

If the attribute has the value true, a checkbox is displayed in the datetime. Deactivating the checkbox sets the value to indefinite. The attribute .value then has the value "".

With .allowundefined = true, invalid values of .value cause the checkbox to be activated.

Value range

true
The content of .value can be set to indefinite by the user. To do so, a checkbox is displayed in the datetime.
false
The user can not set .value to indefinite ("").

Note

Changing .allowundefined in the visible state may lead to a reset of the object.