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
The following exception is raised on an attempt to register a custom question based on 'imagepicker' - Failed to execute 'querySelector' on 'Element': The provided selector is empty.
#6779
Closed
JaneSjs opened this issue
Aug 23, 2023
· 0 comments
· Fixed by #6816
When adding a custom 'photo' question which inherits from the 'imagepicker', the following exception is thrown:
react-dom.development.js:12056 Uncaught DOMException: Failed to execute 'querySelector' on 'Element': The provided selector is empty.
at ./src/question_imagepicker.ts.QuestionImagePickerModel.afterRender (https://r2ywnh.csb.app/node_modules/survey-core/survey.core.js:34269:22)
at ./src/react/reactquestion.tsx.SurveyQuestion.doAfterRender (https://r2ywnh.csb.app/node_modules/survey-react-ui/survey-react-ui.js:5703:35)
at ./src/react/reactquestion.tsx.SurveyQuestion.componentDidMount (https://r2ywnh.csb.app/node_modules/survey-react-ui/survey-react-ui.js:5674:14)
at commitLayoutEffectOnFiber (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:23305:30)
at commitLayoutMountEffects_complete (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:24688:9)
at commitLayoutEffects_begin (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:24674:7)
at commitLayoutEffects (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:24612:3)
at commitRootImpl (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26823:5)
at commitRoot (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26682:5)
at performSyncWorkOnRoot (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:26117:3)
at flushSyncCallbacks (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at eval (https://r2ywnh.csb.app/node_modules/react-dom/cjs/react-dom.development.js:25651:13)
The text was updated successfully, but these errors were encountered:
* work for the #6776
* work for the #6776
* work for the #6776
* work for the #6776
* #6776 - implemented preview for rating stars and skipped tests for disabled
* #6776 - dropdown, tagbox
* #6776 - fixed u-tests
* #6776 - comment and fix singleinput test
* #6776 - multipletext
* #6776 - fixed u-tests
* #6776 - fixed some v-tests
* work for the #6776 (checkbox group)
* work for the #6776 (checkbox group)
* #6776 - fix rating small stars
* #6776 - try to fix responsivity test
* work for the #6776 (ranking spike)
* work for the surveyjs/service#1464 (ranking)
* #6776 - try to fix angular test
* #6776 - fix rating in matrix test
* #6776 - remove DIM color
* #6776 - fixed build
* #6776 - skip matrix preview test for angular
* #6776 - revert angular test skip
* work for the #6776 (boolean, boolean:radio, boolean:checkbox)
* work for the #6776 (boolean markup)
* work for the #6776 (imagepicker)
* #6776 - matrix single-choice
* #6776 - support disabled in old themes
* work for the #6776 (file)
* work for the #6776 (test.only)
* work for the #6776 (review)
* #6676 - fixed selection in readonly and preview mode
* work for the #6776
* #6776 - colored rating
* #6776 - fixed markup tests
* #6779 - matrix alt-rows
* #6776
* #6776 - fixed v-tests
* work for the #6776
* #6776 - siganture, dynamic panel
* #6776 - signature and panel
* work for the #6776
* work for the #6776
* #6776 - update screenshot
* Update readonly-preview.ts
* work for the #6776
* #6776 - update preview etalons for dynamic panel
* #6776 - vixed matrix altrow backcolor
* work for the #6776
* #6776 - fixed radio checkbox color
* #6776 - update screenshots
* #6776 - fixed dynamic panel rendering
* work for the #6776
* work for the #6776
* #6776 - add dot to "no signature"
* #6776 - fix matrix input color for altrow
* #6776 - fix angular dynamic panels
* #6776 - fixed boolean radio rendering
* work for the #6776
* work for the #6776
* #6776 - fix markup tests
* #6776 - fixed boolean paddings
* #6776 - update boolean screenshots
* work for the #6776
* work for the #6776
* #6776 - simplify code
---------
Co-authored-by: Aleksey Novikov <[email protected]>
Co-authored-by: Aleksey Novikov <[email protected]>
User Issue: T14346 - App crash when adding custom question in latest version
https://surveyjs.answerdesk.io/internal/ticket/details/T14346
When adding a custom 'photo' question which inherits from the 'imagepicker', the following exception is thrown:
The text was updated successfully, but these errors were encountered: