select_tagify fields broken, Uncaught TypeError: Cannot read properties of null (reading classList)
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3575962. -->
Reported by: [nessthehero](https://www.drupal.org/user/2729171)
Related to !201
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I currently have a site that uses Tagify fields to select taxonomy in a Paragraph. A live site is currently using 1.2.45.</p>
<p>I am updating locally to 1.2.50 and the fields do not display anymore, and throw an error in the console.</p>
<pre>drupal.js?v=10.6.3:64 Uncaught TypeError: Cannot read properties of null (reading 'classList')<br> at HTMLSelectElement.<anonymous> (tagify.js?tb2j9r:902:23)<br> at ce.each (jquery.min.js?v=3.7.1:2:3129)<br> at ce.fn.init.each (jquery.min.js?v=3.7.1:2:1594)<br> at Object.attach (tagify.js?tb2j9r:568:22)<br> at drupal.js?v=10.6.3:166:24<br> at Array.forEach (<anonymous>)<br> at Drupal.attachBehaviors (drupal.js?v=10.6.3:162:34)<br> at HTMLDivElement.<anonymous> (ajax.js?v=10.6.3:1404:18)<br> at ce.each (jquery.min.js?v=3.7.1:2:3129)<br> at ce.fn.init.each (jquery.min.js?v=3.7.1:2:1594)<br>(anonymous) @ tagify.js?tb2j9r:902<br>each @ jquery.min.js?v=3.7.1:2<br>each @ jquery.min.js?v=3.7.1:2<br>attach @ tagify.js?tb2j9r:568<br>(anonymous) @ drupal.js?v=10.6.3:166<br>Drupal.attachBehaviors @ drupal.js?v=10.6.3:162<br>(anonymous) @ ajax.js?v=10.6.3:1404<br>each @ jquery.min.js?v=3.7.1:2<br>each @ jquery.min.js?v=3.7.1:2<br>insert @ ajax.js?v=10.6.3:1396<br>(anonymous) @ ajax.js?v=10.6.3:1046<br>Promise.then<br>(anonymous) @ ajax.js?v=10.6.3:1039<br>Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.6.3:1036<br>Drupal.Ajax.success @ ajax.js?v=10.6.3:1095<br>success @ ajax.js?v=10.6.3:584<br>options.success @ jquery.form.js?v=4.3.0:281<br>c @ jquery.min.js?v=3.7.1:2<br>fireWith @ jquery.min.js?v=3.7.1:2<br>l @ jquery.min.js?v=3.7.1:2<br>(anonymous) @ jquery.min.js?v=3.7.1:2<br>XMLHttpRequest.send<br>send @ jquery.min.js?v=3.7.1:2<br>ajax @ jquery.min.js?v=3.7.1:2<br>$.fn.ajaxSubmit @ jquery.form.js?v=4.3.0:340<br>Drupal.Ajax.eventResponse @ ajax.js?v=10.6.3:796<br>(anonymous) @ ajax.js?v=10.6.3:646<br>dispatch @ jquery.min.js?v=3.7.1:2<br>v.handle @ jquery.min.js?v=3.7.1:2</pre><p>Has anyone else seen this? </p>
issue