Icon picker errors in Drupal 11

Created on 9 October 2024, 3 months ago

Hello,

I get these errors with the icon picker in Drupal 11 (With any admin theme even Bootstrap 5 Admin)

Error: TypeError: $.trim is not a function
    at Iconpicker.getValid (js__Xpfg4C6V4BQBllZp…KO3DHXjTddE:2:22750)
    at Iconpicker.setValue (js__Xpfg4C6V4BQBllZp…KO3DHXjTddE:2:22948)
    at Iconpicker.setSourceValue (js__Xpfg4C6V4BQBllZp…KO3DHXjTddE:2:23313)
    at Iconpicker.update (js__Xpfg4C6V4BQBllZp…KO3DHXjTddE:2:26329)
    at new Iconpicker (js__Xpfg4C6V4BQBllZp…KO3DHXjTddE:2:13685)
    at HTMLInputElement.<anonymous> (js__Xpfg4C6V4BQBllZp…KO3DHXjTddE:2:27429)
    at Function.each (js_ceHxKWqt-iIvLSh9y…YKO3DHXjTddE:3:2876)
    at T.fn.init.each (js_ceHxKWqt-iIvLSh9y…YKO3DHXjTddE:3:1386)
    at $.fn.iconpicker (js__Xpfg4C6V4BQBllZp…KO3DHXjTddE:2:27342)
    at js__Xpfg4C6V4BQBllZp…nYKO3DHXjTddE:3:321
(anonyme)	@	js__Xpfg4C6V4BQBllZp…iFL9nYKO3DHXjTddE:3

Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Uncaught TypeError: $.isWindow is not a function
    at Object.getWithinInfo (js__Xpfg4C6V4BQBllZpqxd784GE0wBtnPItqoWuOWmcW8.js?scope=footer&delta=2&language=fr&theme=bootstrap5_admin&include=eJx9j10KAzEIhC-UbJ56gJ4kGCNF1o2SuKXHb7d0F_pDX1QGv3FEbU43X0FS7auBTHgoUbjNIxRVH97BThnqwi1RgyIUXVWcLaB22mFA5ys9wbBQW_MBZ34YJ6ztp76VYYwz9Tc_VBGwQd8hDiEOEkIPW5wCPb16wH-f7Usf0EQDwei8XQiFL9nYKO3DHXjTddE:2:2114)
    at $.fn.pos (js__Xpfg4C6V4BQBllZpqxd784GE0wBtnPItqoWuOWmcW8.js?scope=footer&delta=2&language=fr&theme=bootstrap5_admin&include=eJx9j10KAzEIhC-UbJ56gJ4kGCNF1o2SuKXHb7d0F_pDX1QGv3FEbU43X0FS7auBTHgoUbjNIxRVH97BThnqwi1RgyIUXVWcLaB22mFA5ys9wbBQW_MBZ34YJ6ztp76VYYwz9Tc_VBGwQd8hDiEOEkIPW5wCPb16wH-f7Usf0EQDwei8XQiFL9nYKO3DHXjTddE:2:2712)
    at Iconpicker.updatePlacement (js__Xpfg4C6V4BQBllZpqxd784GE0wBtnPItqoWuOWmcW8.js?scope=footer&delta=2&language=fr&theme=bootstrap5_admin&include=eJx9j10KAzEIhC-UbJ56gJ4kGCNF1o2SuKXHb7d0F_pDX1QGv3FEbU43X0FS7auBTHgoUbjNIxRVH97BThnqwi1RgyIUXVWcLaB22mFA5ys9wbBQW_MBZ34YJ6ztp76VYYwz9Tc_VBGwQd8hDiEOEkIPW5wCPb16wH-f7Usf0EQDwei8XQiFL9nYKO3DHXjTddE:2:21653)
    at Iconpicker.show (js__Xpfg4C6V4BQBllZpqxd784GE0wBtnPItqoWuOWmcW8.js?scope=footer&delta=2&language=fr&theme=bootstrap5_admin&include=eJx9j10KAzEIhC-UbJ56gJ4kGCNF1o2SuKXHb7d0F_pDX1QGv3FEbU43X0FS7auBTHgoUbjNIxRVH97BThnqwi1RgyIUXVWcLaB22mFA5ys9wbBQW_MBZ34YJ6ztp76VYYwz9Tc_VBGwQd8hDiEOEkIPW5wCPb16wH-f7Usf0EQDwei8XQiFL9nYKO3DHXjTddE:2:25380)
    at HTMLInputElement.<anonymous> (js__Xpfg4C6V4BQBllZpqxd784GE0wBtnPItqoWuOWmcW8.js?scope=footer&delta=2&language=fr&theme=bootstrap5_admin&include=eJx9j10KAzEIhC-UbJ56gJ4kGCNF1o2SuKXHb7d0F_pDX1QGv3FEbU43X0FS7auBTHgoUbjNIxRVH97BThnqwi1RgyIUXVWcLaB22mFA5ys9wbBQW_MBZ34YJ6ztp76VYYwz9Tc_VBGwQd8hDiEOEkIPW5wCPb16wH-f7Usf0EQDwei8XQiFL9nYKO3DHXjTddE:2:18480)
    at HTMLInputElement.dispatch (js_ceHxKWqt-iIvLSh9yAltyy-l9J-bXPDJESPywksWfp4.js?scope=footer&delta=0&language=fr&theme=bootstrap5_admin&include=eJx9j10KAzEIhC-UbJ56gJ4kGCNF1o2SuKXHb7d0F_pDX1QGv3FEbU43X0FS7auBTHgoUbjNIxRVH97BThnqwi1RgyIUXVWcLaB22mFA5ys9wbBQW_MBZ34YJ6ztp76VYYwz9Tc_VBGwQd8hDiEOEkIPW5wCPb16wH-f7Usf0EQDwei8XQiFL9nYKO3DHXjTddE:3:38062)
    at v.handle (js_ceHxKWqt-iIvLSh9yAltyy-l9J-bXPDJESPywksWfp4.js?scope=footer&delta=0&language=fr&theme=bootstrap5_admin&include=eJx9j10KAzEIhC-UbJ56gJ4kGCNF1o2SuKXHb7d0F_pDX1QGv3FEbU43X0FS7auBTHgoUbjNIxRVH97BThnqwi1RgyIUXVWcLaB22mFA5ys9wbBQW_MBZ34YJ6ztp76VYYwz9Tc_VBGwQd8hDiEOEkIPW5wCPb16wH-f7Usf0EQDwei8XQiFL9nYKO3DHXjTddE:3:36042)

Any help ?

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium jbfelix

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024