Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vue 3] An exception is thrown on an attempt to load a new Image Picker option #5817

Closed
JaneSjs opened this issue Aug 23, 2024 · 0 comments · Fixed by #5825
Closed

[Vue 3] An exception is thrown on an attempt to load a new Image Picker option #5817

JaneSjs opened this issue Aug 23, 2024 · 0 comments · Fixed by #5825
Assignees
Labels
bug user issue An issue or bug reported by users.
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Aug 23, 2024


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)

image

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users. labels Aug 23, 2024
@dk981234 dk981234 linked a pull request Aug 26, 2024 that will close this issue
@RomanTsukanov 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
@OlgaLarina OlgaLarina added this to the v1.11.13 milestone Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants