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

When a custom calculation function is called for the first time, this.question is undefined #9422

Closed
JaneSjs opened this issue Feb 7, 2025 · 0 comments · Fixed by #9430
Closed
Assignees
Labels
user issue An issue or bug reported by users

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Feb 7, 2025

T21775 - this.question is undefined in FunctionFactory.Instance.register()
https://surveyjs.answerdesk.io/internal/ticket/details/T21775


When a custom helpExp function is called for the first time, the this.question property returns undefined.

@JaneSjs JaneSjs added the user issue An issue or bug reported by users label Feb 7, 2025
@andrewtelnov andrewtelnov self-assigned this Feb 7, 2025
andrewtelnov added a commit that referenced this issue Feb 10, 2025
andrewtelnov added a commit that referenced this issue Feb 10, 2025
@RomanTsukanov RomanTsukanov changed the title When a custom function is called for the first time, the this.question property returns undefined When a custom calculation function is called for the first time, this.question is undefined Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants