Facing this issue, how to fix
Error
Answers approved by surveyjs Support
Hello,
Thank you for the update. I double-checked the documentation and it appears that the creator.onSurveyPropertyValueChanged event contains the following parameters:
options.obj
:Base
A survey element (question, panel, page, or the survey itself) whose property has changed.options.propertyName
:string
The name of the modified property.options.value
:any
A new property value.
Please update your code and use the options.value
to reference a new property value.
If you wish to get the old property value, use the creator.onPropertyValueChanging event. For more information on parameters available within this event, check our documenation.
Drop me a line if you have any further questions.
Thanks
Hi Mike,
Thank you for sharing the code. I may need additional time to research the issue further. Please stay tuned.
I forwarded the corresponding issue to our development team for further research: https://github.com/surveyjs/survey-creator/issues/5159. I'll drop a line once I have any news to share.
Please stay tuned.
Hi Mike,
I didn't seem to reproduce the issue on my end. Please check this demo: View Plunker. If you haven't yet upgraded to the most recent version of SurveyJS, please do it.
Let me know how it goes.