Condition Date Range

<sw-condition-date-range> extends <sw-condition-base>

prototype
Condition for the DateRangeRule. This component must a be child of sw-condition-tree.

Usage

<sw-condition-date-range :condition="condition" :level="0"></sw-condition-date-range>

Imports

  • src/core/data/LocalStore
  • ./sw-condition-date-range.html.twig

Watcher

  • useTime
  • fromDate
  • toDate

Twig blocks

  • sw_condition_date_range_field_use_time
  • sw_condition_date_range_field_from_date
  • sw_condiiton_date_range_field_to_date
  • sw_condition_base_fields