- Issue created by @p-neyens
- Status changed to Needs review
over 1 year ago 10:45am 4 August 2023 - 🇮🇳India shalini_jha
I have also encountered the same issue in the console. After applying patch #2, it fixes the issue.
When we use the select2 element as a facet widget then we get the following error.
JS error - Uncaught Sortable: `el` must be an HTMLElement, not [object Undefined]
This was caused by the following code part.
var $list = $select.next('.select2-container').find('ul.select2-selection__rendered');
Where the list length is equal to 0.
I propose that we add a extra check to see if the list exists.
Needs review
1.15
Render element
I have also encountered the same issue in the console. After applying patch #2, it fixes the issue.