- Issue created by @RenataBin
Hello everyone,
after installing Drupal 11.1 I needed to use selectwithsearch module and so I applied
https://www.drupal.org/project/selectwithsearch/issues/3448842
📌
Automated Drupal 11 compatibility fixes for selectwithsearch
Needs review
directly to selectwithsearch module without using composer to install it.
In Drupal extension' menu I've found the module and I've activeted it without errors, but there's an error in the browser console and it doesnt' work:
drupal.js?v=11.1.1:64 Uncaught TypeError: a.isArray is not a function
at D.apply (select2.min.js?sq4ibj:2:19018)
at new e (select2.min.js?sq4ibj:2:20693)
at new e (select2.min.js?sq4ibj:2:22746)
at HTMLSelectElement. (select2.min.js?sq4ibj:2:30926)
at Function.each (jquery.min.js?v=4.0.0-beta.2:2:2876)
at T.fn.init.each (jquery.min.js?v=4.0.0-beta.2:2:1386)
at a.fn.select2 (select2.min.js?sq4ibj:2:30886)
at Object.attach (selectwithsearch.js?sq4ibj:7:29)
at drupal.js?v=11.1.1:166:24
at Array.forEach ()
Maybe it's not completely compatible with Drupal 11?
Is it possible to fix?
Thanks.
Renata.
Active
1.0
Code