How To
Documentation
    Learn More

      advanced:date-range

      Description

      Creates an advanced search date range picker. Must be used within a <search:advanced> tag. A filter for the field specified is only set once both dates have been set.

      Usage

      as element:
      <advanced:date-range
             field="{string}"
             values="{string}"
             [date-format="{string}"]
             [min-view="{string}"]>
      </advanced:date-range>

      Parameters

      ParamTypeDetails
      fieldstring

      The field to apply the filter to.

      valuesstring

      The checkbox values to display. These can be represented (comma separated) as field=displayName combinations and must match the actual value of a filter.

      dateFormat
      (optional)
      string

      The display date format of the dates. Defaults to 'medium'.

      minView
      (optional)
      string

      The minimum view of the date picker to display. Values: 'year/month/day/hour/minute'. Default 'minute'.

      Example

      Source

      
      
      

      Demo