Issue T16638
Visible to All Users

Error

created a year ago

Clipboard-File-1.png
Facing this issue, how to fix
Clipboard-File-2.png

Comments (1)

    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.

    Answers approved by surveyjs Support

    created a year ago

    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

      Show previous comments (5)

        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.

          AT AT
          Andrew Telnov a year ago

            Hello,
            Here is the working example.

            Thank you,
            Andrew
            SurveyJS Team