Date input field element widgets

<element id="starting_date">
  <date_input_field />
  <config>
    <invalid_input type='theme_text'>Starting date is not valid</invalid_input>
  </config>
</element>

Specifying an element with a <date_input_field/> creates a new theme widget which is an x::w::date_input_field widget. This is equivalent to invoking the factory's create_date_input_field() method.

An optional config element initializes the x::w::date_input_field_config parameter for create_date_input_field, as follows:

invalid_input

Sets the x::w::date_input_field_config's invalid_input x::w::text_param value.

appearance

Sets the date input field's appearance object.