Home › Forums › General Issues › Multi Select – Get all choices for Query Args › Reply To: Multi Select – Get all choices for Query Args
I replaced the local database with the latest one to be sure I had no leftover blocks experimenting with all. Still I see
TypeError: null is not an object (evaluating 'e.addEventListener')
Global Code — toggle.js:7
Selected Element
<div class="block-editor-block-list__layout is-root-container" data-is-drop-zone="true" data-select2-id="3">…</div>
so perhaps it is caused by another block. Annoying though as it kills display of my new block in the editor. Seems to be related to a WordPress default block as the class is called block-editor-block-list__layout
. Will try to see what it is.
Checking console in Firefox Developer I now see
Uncaught TypeError: can't access property "addEventListener", e is null
<anonymous> https://site.test/wp-content/themes/theme/blocks/pricing-toggle/toggle.js?ver=5.8.1:7
So will see if that block error is causing my block not to display well in the editor.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.