SurveyJS v2.5.2
Released: December 23, 2025
SurveyJS v2.5.2 introduces enhancements to JSON validation in Survey Creator and includes several fixes and internal refinements.
[Survey Creator] Property Value Validation in JSON Editor Tab
In Survey Creator, the JSON Editor tab allows survey designers to edit the survey JSON schema directly. Previously, validation checked only whether a property existed, allowing unsupported values. Starting with Survey Creator v2.5.2, validation also verifies that assigned values are valid for the target property, helping detect configuration issues earlier and prevent invalid survey definitions.
After upgrading to v2.5.2, some existing survey JSON schemas may be reported as invalid if they contain unsupported property values. We recommend correcting these issues to ensure consistent and predictable survey behavior. However, if you prefer not to enforce this validation, you can disable it using the validateJsonPropertyValues property. In this case, survey designers will still be able to assign invalid values in the JSON Editor tab.
import { SurveyCreatorModel } from "survey-creator-core";
const creatorOptions = {
validateJsonPropertyValues: false
};
const creator = new SurveyCreatorModel(creatorOptions);
Bug Fixes and Minor Enhancements
Form Library
- Multi-Select Dropdown / Tag Box:
allowCustomChoicesdoesn't work on mobile/touch-enabled devices in certain scenarios (#10702) - Multi-Select Dropdown / Tag Box:
defaultValueis not written tosurvey.datawhen the survey ends via a skip trigger (#10728) - Dynamic Panel in Multi-Select Matrix's detail section duplicates nested question title when
templateQuestionTitleLocationis"left"(#10733) - [React/Astro/Safari] Navigation bar is not rendered under certain conditions (#10722)
Survey Creator
- Matrix Rubric: Error occurs when activating the Translations tab to translate static cell texts (#7327)
PDF Generator
- [Node.js] HTML content is misaligned (#451)
- Error occurs when rendering a File Upload question with certain configuration (#453)
How to Update SurveyJS Libraries in Your Application
Angular
npm i survey-core@v2.5.2 survey-angular-ui@v2.5.2 --save
npm i survey-creator-core@v2.5.2 survey-creator-angular@v2.5.2 --save
npm i survey-analytics@v2.5.2 --save
npm i survey-pdf@v2.5.2 --save
React
npm i survey-core@v2.5.2 survey-react-ui@v2.5.2 --save
npm i survey-creator-core@v2.5.2 survey-creator-react@v2.5.2 --save
npm i survey-analytics@v2.5.2 --save
npm i survey-pdf@v2.5.2 --save
Vue.js
npm i survey-core@v2.5.2 survey-vue3-ui@v2.5.2 --save
npm i survey-creator-core@v2.5.2 survey-creator-vue@2.5.2 --save
npm i survey-analytics@2.5.2 --save
npm i survey-pdf@2.5.2 --save
HTML/CSS/JavaScript
<link href="https://unpkg.com/survey-core@2.5.2/survey-core.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/survey-core@2.5.2/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/survey-js-ui@2.5.2/survey-js-ui.min.js"></script>
<script src="https://unpkg.com/survey-core@2.5.2/themes/index.min.js"></script>
<script src="https://unpkg.com/survey-creator-core@2.5.2/themes/index.min.js"></script>
<link href="https://unpkg.com/survey-creator-core@2.5.2/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/survey-creator-core@2.5.2/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/survey-creator-js@2.5.2/survey-creator-js.min.js"></script>
<link href="https://unpkg.com/survey-analytics@2.5.2/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@2.5.2/survey.analytics.min.js"></script>
<script src="https://unpkg.com/survey-pdf@2.5.2/survey.pdf.min.js"></script>
<script src="https://unpkg.com/survey-pdf@2.5.2/pdf-form-filler.min.js"></script>