You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce the issue, open the Creator for Vue3 demo, add an image picker, remove an image using the delete button on a design surface and click the plus + sign to load a new image. The following exception appears in a browser console:
Uncaught TypeError: Cannot read properties of null (reading 'getElementsByClassName')
at ImageItemValueWrapperViewModel.chooseNewFile (survey-creator-core.js:6664:41)
at isNew.isUploading.allowAdd.isUploading.onClick.b.<computed>.b.<computed> (survey-creator-vue.es.js:2225:63)
at callWithErrorHandling (runtime-core.cjs.js:203:19)
at Object.callWithAsyncErrorHandling (runtime-core.cjs.js:210:17)
at HTMLSpanElement.invoker (runtime-dom.cjs.js:634:17)
The text was updated successfully, but these errors were encountered:
RomanTsukanov
changed the title
[Vue3] The 'Uncaught TypeError: Cannot read properties of null (reading 'getElementsByClassName')' exception is thrown on an attempt to load a new Image Picker item image
[Vue 3] An exception is thrown on an attempt to load a new Image Picker option
Aug 27, 2024
https://surveyjs.answerdesk.io/internal/ticket/details/T19507
https://surveyjs.answerdesk.io/internal/ticket/details/t10327
To reproduce the issue, open the Creator for Vue3 demo, add an image picker, remove an image using the delete button on a design surface and click the plus + sign to load a new image. The following exception appears in a browser console:
The text was updated successfully, but these errors were encountered: