verbb / vizy

A flexible visual editor for Craft CMS
Other
44 stars 8 forks source link

Cannot add image #210

Closed jan-dh closed 1 year ago

jan-dh commented 1 year ago

Describe the bug

When trying to add an image the image selection windows open but I'm unable to actually select an image. Console gives me:

caught TypeError: Cannot read properties of undefined (reading 'length')
    at Proxy.<anonymous> (ImageMenuBarItem.vue:187:70)
    at Proxy.<anonymous> (ImageMenuBarItem.vue:221:25)
    at s.constructor.onSelect (AssetSelectorModal.js:205:21)
    at s.constructor.selectElements (BaseElementSelectorModal.js:308:14)
    at s.constructor.<anonymous> (BaseElementSelectorModal.js:429:20)
    at s.constructor.<anonymous> (Base.js:153:23)
    at HTMLDivElement.o (jquery.js?v=1681805548:2:89408)
    at HTMLDivElement.dispatch (jquery.js?v=1681805548:2:43392)
    at w (jquery.mobile-events.js?v=1681805548:2:15447)
    at HTMLDivElement.h (jquery.mobile-events.js?v=1681805548:2:7307)
image

Steps to reproduce

  1. Create a vizy field
  2. Try to select an image

Craft CMS version

4.4.7.1

Plugin version

2.1.1

Multi-site?

"yes"

Additional context

No response

engram-design commented 1 year ago

Should be fixed in 2.1.2