Project

General

Profile

Actions

Bug #38177

closed

remove select2('destroy') for non select2 item

Added by Maria Agaphontzev 6 days ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Category:
JavaScript stack
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Fix:
select2.js:6001 The select2('destroy') method was called on an element that is not using Select2.
overrideMethod hook.js:608
(anonymous)
select2.js:6001
each jquery.js:383
each
jquery.js:205
$.fn.select2 select2.js:5997
(anonymous)
application-4c96aa3a5d1c543de0d7494fa2bc018592e73deea8bcb971e84230d3a13141e6.js:4653
dispatch jquery.js:5145
elemData.handle
jquery.js:4949
trigger jquery.js:8629
(anonymous)
jquery.js:8707
each jquery.js:383
each
jquery.js:205
trigger jquery.js:8706
(anonymous)
application-4c96aa3a5d1c543de0d7494fa2bc018592e73deea8bcb971e84230d3a13141e6.js:5027
dispatch jquery.js:5145
elemData.handle
jquery.js:4949
loadScript late_load-82f1872e1d8591b8ae02c813fbb4de52794cce4668361c2d458de4351275a689.js:33
(anonymous)
late_load-82f1872e1d8591b8ae02c813fbb4de52794cce4668361c2d458de4351275a689.js:53
Promise.then
load_dynamic_javascripts late_load-82f1872e1d8591b8ae02c813fbb4de52794cce4668361c2d458de4351275a689.js:21
(anonymous)
new:53

select2.js:6007 Uncaught TypeError: Cannot read properties of undefined (reading 'destroy')

Actions

Also available in: Atom PDF