- Issue created by @c_archer
- 🇺🇸United States mengi
How did you setup the facet filters? I can use a simple facet exposed filters with no errors.
- 🇬🇧United Kingdom c_archer Cumbria
I added a date range facet and a commerce price field with a range facet.
- 🇨🇿Czech Republic radimsulak
I am getting the same error when I add a range slider for a numeric field.
- 🇺🇸United States mengi
From #search slack about sliders;
The slider widget hasnt been tested/implemented yet in facets exposed filters setup.
We prefer using either min/max value filter, or hardcoded range-values as tags, as it works better on mobile.
Not sure if BEF has a slider support. That might be a quickfix, if BEF already has a slider, to not use facets for it but a regular filter insteadSliders don't work with 3.x+facets exposed filters yet. It was suggested to use regular exposed filters, with a con being that the filter does not adjust their values depending on the results.
- 🇬🇧United Kingdom intrafusion Edinburgh, UK
I get exactly the same error, different line number, when I simply add a facet to the filter criteria. Same error is also generated when I click on settings.
This might be a D11 issue as we've upgraded recently
- 🇬🇧United Kingdom intrafusion Edinburgh, UK
Further debugging has discovered a difference between Facets v3 & Better Exposed Filters v7 (required for D11)
After amending
'widget' => '<nowidget>',
to'widget' => ['type' => 'dropdown', 'config' => []],
in \Drupal\facets_exposed_filters\Plugin\views\filter\FacetsFilter::getFacet the error is now gone and I can access the settings link against the filter, but it's not possible to change widgets as per https://project.pages.drupalcode.org/facets/exposed_filters/#better-expo... - 🇮🇹Italy trickfun
Any news here?
Same error for me when i try to add facet "Slider" or "range slider" with commerce price.I setup solr price field as variations:entity:price:number
Drupal 10.4
Thank you