protected function getFilterWidgetParameters(IAttribute $attribute, $currentValue, $ids)
    {
        return [
            'label'         => $this->prepareWidgetLabel($attribute),
            'inputType'     => 'multitext',
            'options'       => $this->prepareWidgetOptions($ids, $attribute),
            'timetype'      => $this->get('timetype'),
            'dateformat'    => $this->get('dateformat'),
            'eval'          => [
                'multiple'  => true,
                'size'      => $this->get('fromfield') && $this->get('tofield') ? 2 : 1,
                'urlparam'  => $this->getParamName(),
                'template'  => $this->get('template'),
                'colname'   => $attribute->getColName(),
            ],
            // We need to implode to have it transported correctly in the frontend filter.
            'urlvalue'      => !empty($currentValue) ? implode(',', $currentValue) : ''
        ];
    }