Skip to main content

Date Range

What is the Form Date Range?

The Date Range or Date Range picker is used, as the name suggests, as a date-range picking field, which can be styled to your preference.

date-range.png date-rangepopup.png

Options

Specifies where the date picking pop-up should appear, relative to the activation button.

Setting Mock field and own value

The Date picker updates the own value and the mock if it can, when:

  • When the Date picker is rendered.
  • When a selection is made.
  • An external message tells it to.

Validation

The Date picker doesn't validate itself.

Sensor Events

The Date picker doesn't send out sensor events.

External Messages

The Date picker listens to all the basic messages.

  • Set Form: Takes the messages value and sets it as the selected date, saves it to Mock and updates the own value. Note: The messages value should be in the format of the Date picker. If not the setting of the date can result in undesired outcomes.
  • Clear/Reset Form: Clears the selection to empty, clears the mock and the own value.

Value from Datasource

The Date picker doesn't support values from datasource.