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

Multi-Select Dropdown (Tag Box) inside a matrix detail form: An exception occurs when the form contains no visible elements #7227

Closed
JaneSjs opened this issue Oct 25, 2023 · 0 comments · Fixed by #7229
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Oct 25, 2023

User Issue: T15243 - Tagbox error with clearIfInvisible when hidden on startup
https://surveyjs.answerdesk.io/internal/ticket/details/T15243


View Demo
To reproduce the issue, run the demo and try to navigate to the next page or expand the detail form. The following exception occurs:

TypeError Cannot read properties of undefined (reading 'clear')
./src/question_tagbox.ts.QuestionTagboxModel.clearValue
https://gdwqsm.csb.app/node_modules/survey-core/survey.core.js:49252:32
./src/question.ts.Question.clearValueIfInvisibleCore
https://gdwqsm.csb.app/node_modules/survey-core/survey.core.js:26661:18
./src/question_baseselect.ts.QuestionSelectBase.clearValueIfInvisibleCore
https://gdwqsm.csb.app/node_modules/survey-core/survey.core.js:29814:52
./src/question.ts.Question.clearValueIfInvisible
https://gdwqsm.csb.app/node_modules/survey-core/survey.core.js:26657:14
./src/question.ts.Question.clearValueOnHidding
https://gdwqsm.csb.app/node_modules/survey-core/survey.core.js:25483:18
./src/question.ts.Question.notifySurveyVisibilityChanged
https://gdwqsm.csb.app/node_modules/survey-core/survey.core.js:25475:18
QuestionTagboxModel.set
https://gdwqsm.csb.app/node_modules/survey-core/survey.core.js:25118:18
Object.eval [as onExecute]
@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Oct 25, 2023
@JaneSjs JaneSjs added this to the v1.9.115 milestone Oct 25, 2023
@JaneSjs JaneSjs changed the title The 'Cannot read properties of undefined (reading 'clear')' exception occurs when a Matrix Detail Form contains no visible elements TagBox inside a Matrix Detail Form - The 'Cannot read properties of undefined (reading 'clear')' exception occurs when a Matrix Detail Form contains no visible elements Oct 25, 2023
@andrewtelnov andrewtelnov self-assigned this Oct 25, 2023
@andrewtelnov andrewtelnov changed the title TagBox inside a Matrix Detail Form - The 'Cannot read properties of undefined (reading 'clear')' exception occurs when a Matrix Detail Form contains no visible elements TagBox inside a Matrix Detail Form - AN exception occurs when a Matrix Detail Form contains no visible elements Oct 25, 2023
@andrewtelnov andrewtelnov changed the title TagBox inside a Matrix Detail Form - AN exception occurs when a Matrix Detail Form contains no visible elements TagBox inside a Matrix Detail Form - An exception occurs when a Matrix Detail Form contains no visible elements Oct 25, 2023
andrewtelnov added a commit that referenced this issue Oct 25, 2023
…x Detail Form contains no visible elements fix #7227
tsv2013 pushed a commit that referenced this issue Oct 26, 2023
…x Detail Form contains no visible elements fix #7227 (#7229)
@RomanTsukanov RomanTsukanov changed the title TagBox inside a Matrix Detail Form - An exception occurs when a Matrix Detail Form contains no visible elements Multi-Select Dropdown (Tag Box) inside a matrix detail form: An exception occurs when the form contains no visible elements Oct 31, 2023
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.

2 participants