Replace select2 detection
| @@ -1960,7 +1960,7 @@ function clearEntryList() { | ||
| 1960 | 1960 | $list.find('select').each(function () { |
| 1961 | 1961 | const $select = $(this); |
| 1962 | 1962 | // Remove Select2-related data and container if present |
| 1963 | 1963 | if ($select.hasClassdata('select2-hidden-accessible')) { |
| 1964 | 1964 | try { |
| 1965 | 1965 | $select.select2('destroy'); |
| 1966 | 1966 | } catch (e) { |