Uncaught TypeError: Cannot read properties of undefined (reading 'selectors')

Created on 20 March 2024, 8 months ago
Updated 9 April 2024, 7 months ago

Problem/Motivation

drupal.js?v=10.0.0:64 Uncaught TypeError: Cannot read properties of undefined (reading 'selectors')
at Object.detach (improved_multi_select.js?v=10.0.0:32:15)
at drupal.js?v=10.0.0:225:24
at Array.forEach ()
at Drupal.detachBehaviors (drupal.js?v=10.0.0:221:34)
at Drupal.AjaxCommands.insert (ajax.js?v=10.0.0:1304:18)
at ajax.js?v=10.0.0:1008:41

Steps to reproduce

Installed after improved_multi_select module

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.8

Component

User interface

Created by

🇮🇳India Gowtham Drupal chennai

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

Comments & Activities

  • Issue created by @Gowtham Drupal
  • @gowtham the module is working fine . Please provide more detailed steps how you are getting this error??

  • 🇮🇳India Gowtham Drupal chennai

    Hi @sourabhsisodia_,

    I receive the error that I reported above in my browser console if I'm not using the designated selectors, even when mentioning the particular page on the configuration.

    It appears that improve_multi_select.js is loading on all pages in my website and anticipating the selector that is generating the console error.

    However, if I mention the selection as I did in the image, it will resolve the problem for me.

Production build 0.71.5 2024