SurveyJS PDF Generator v2.4.0

Released: Nov 26, 2025

v2.4.0 での更新項目

機能

Action Buttons Now Always Use Unique id Values

  • In previous versions, certain survey and Survey Creator configurations could generate action buttons with duplicate id attributes, which is an invalid HTML pattern. Starting with this release, all action buttons have unique id values.
  • If your code or tests rely on specific action button IDs, review and update those references to ensure they continue to work correctly.

choicesByUrl No Longer Loads Choices When Lazy Loading is Enabled

  • Dropdown and Tag Box questions can load choices in two ways:
    • All at once, using the choicesByUrl configuration.
    • On demand, using the onChoicesLazyLoad function when choicesLazyLoadEnabled is true.
  • Previously, if both were configured, choicesByUrl would still load all choices up front. Starting with SurveyJS v2.4.0, choicesByUrl is ignored when lazy loading is enabled. Instead, its configuration is now available inside onChoicesLazyLoad, allowing you to read the URL and load the data yourself.
  • You are affected if a Dropdown or Tag Box question defines both choicesByUrl and choicesLazyLoadEnabled. To restore previous behavior, disable choicesLazyLoadEnabled. To adopt lazy loading, update your onChoicesLazyLoad handler to fetch from the URL defined in choicesByUrl.

New Survey UI State API

  • SurveyJS Form Library supports scenarios where a respondent leaves a survey unfinished and returns later. To improve this experience, SurveyJS v2.4.0 introduces a UI state object that stores the following:
    • Whether question boxes are expanded or collapsed.
    • The last visited question name.
    • The active panel index in a Dynamic Panel.
  • You can save this UI state in the respondent's localStorage and restore it when the survey loads again. Use the uiState property to access the current state and handle the onUIStateChanged event to track updates.

不具合の修正

Form Library

  • Binding a Dynamic Panel with a Checkboxes question using valuePropertyName stopped working correctly.
  • [Survey Creator] Preview Tab: "Show Invisible Elements" doesn't display invisible matrix columns.
  • Dynamic Matrix: Rows do not appear after setting its data to an empty array and then assigning a new array.