diff --git a/src/Filter/AbstractDateFilter.php b/src/Filter/AbstractDateFilter.php index 2c55badc..7e39d130 100644 --- a/src/Filter/AbstractDateFilter.php +++ b/src/Filter/AbstractDateFilter.php @@ -50,6 +50,7 @@ final public function getFormOptions(): array 'field_type' => $this->getFieldType(), 'field_options' => $this->getFieldOptions(), 'label' => $this->getLabel(), + 'operator_type' => $this->range ? DateRangeOperatorType::class : DateOperatorType::class, ]; }