- Issue created by @zubair-rana
- π§πͺBelgium jelle_s Antwerp, Belgium
Facets 2.0.9 claims to be Drupal 11 compatible, but since this slider library doesn't work with the jQuery version Drupal core uses in 11, this is no longer true.
- π¨π¦Canada danrod Ottawa
If you don't mind using a contrib module to fix this small jQuery issue, you can use this module to fix this: https://www.drupal.org/project/jquery_deprecated_functions β
It implements a bunch of jQuery deprecated issues,
$.type
being one of these. - πΊπ¦Ukraine zviryatko
Here patch for bower-asset/jquery-ui-slider-pips package that fixes issue, just add:
"bower-asset/jquery-ui-slider-pips": { "Fixes for jQuery 4": "patches/jquery-ui-slider-pips_jQuery-4.patch" },
- π©π°Denmark ressa Copenhagen
Thanks @zviryatko for the PR which just got released in version 2.0.0! Is the remaining task now to update the README, since it uses version 1.11, but 2.0.0 is the correct one now, I guess? https://git.drupalcode.org/project/facets/blob/HEAD/modules/facets_range...
I just now realize that this is for version 2, and it looks like Facets 3 does not support Range Slider ... It crashes with
TypeError: Cannot access offset of type string on string in Drupal\facets\Entity\Facet->getWidgetInstance() (line 405 of modules/contrib/facets/src/Entity/Facet.php).
.