{"id":15919546,"date":"2022-08-16T07:53:41","date_gmt":"2022-08-16T07:53:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/yith-plugin-javascript-code-making-select2-clunky\/"},"modified":"2022-08-16T07:53:41","modified_gmt":"2022-08-16T07:53:41","slug":"yith-plugin-javascript-code-making-select2-clunky","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/yith-plugin-javascript-code-making-select2-clunky\/","title":{"rendered":"YITH Plugin JavaScript code making Select2 clunky"},"content":{"rendered":"<p>On Order edit page, the select2 dropdown for Order status has become clunky and at first I did not know why but I looked at the console and a file <\/p>\n<p>wp-content\/plugins\/yith-woocommerce-affiliates\/plugin-fw\/assets\/js\/yith-fields.min.js?ver=3.9.13<\/p>\n<p>seems to be causing the problem. <\/p>\n<p>In console I get the following error from this file<\/p>\n<p>&#8220;yith-fields.min.js?ver=3.9.13:1 Uncaught TypeError: Cannot read properties of null (reading &#8216;focus&#8217;)<br \/>\n&#8221;<\/p>\n","protected":false},"template":"","class_list":["post-15919546","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15919546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15919546\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15919546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}