SurveyJS v2.0.10
Released: May 20, 2025
SurveyJS v2.0.10 adds new round()
and trunc()
functions for use within expressions and includes bug fixes and minor enhancements.
Expressions: New round()
and trunc()
functions
SurveyJS v2.0.10 introduces two more functions that you can use for calculations within expressions:
round(num, precision)
Rounds the given number to the specified number of decimal places.trunc(num, precision)
Truncates the given number to the specified number of decimal places.
New Blog Posts
Build a Form with Repeatable Form Fields Using Dynamic Panels
Bug Fixes and Minor Enhancements
Form Library
- Skip Logic doesn't work in question-per-page mode if the
executeSkipOnValueChanged
property is disabled in global settings (#9903) - Skip Logic in question-per-page mode: Navigating back gets users to the preceding question in the survey JSON schema instead of the actual previous question (#9886)
- Currency input mask: The
prefix
property cannot be updated at runtime (#9875) - [Accessibility] Contrast theme: Error message colors do not meet minimum contrast ratio thresholds (#9843)
- [Accessibility] Enhance accessibility for Dropdown and Rating Scale rendered as dropdown (#9850)
- Dynamic Panel: The
{visiblePanelIndex}
placeholder producesnull
under certain conditions (#9874) - Dynamic Panel: It's possible to set a
panelCount
less than theminPanelCount
and more than themaxPanelCount
(#9906) - Dynamic Panel doesn't allow adding more entries than
panelCount
when itsdisplayMode
is"carousel"
and the survey is in input-per-page mode (#9900) - Advanced header stays fixed and overlaps the survey content when the content is scrolled (#9784)
- A read-only text editor doesn't allow selecting its value (#9909)
- [Survey Creator] An error is raised when trying to change a question type to a custom type (#9897)
Survey Creator
- The
showCreatorThemeSettings
property doesn't hide the theme settings icon when changed at runtime (#6886) - A custom page footer action added using the
onPageGetFooterActions
event handler contains a three-dot button with the question type menu (#6889) - Use
cursor: pointer
for toolbox items and clickable property grid elements (#6895) - The
rowsVisibleIf
expression is applied within the Default Answer pop-up dialog (#6902) - [Angular 18] Performance decreases when navigating through a large survey (#6894)
PDF Generator
- Loop and Merge: Generated PDF form doesn't contain follow-up questions (#389)
How to Update SurveyJS Libraries in Your Application
Angular
npm i survey-core@2.0.10 survey-angular-ui@2.0.10 --save
npm i survey-creator-core@2.0.10 survey-creator-angular@2.0.10 --save
npm i survey-analytics@2.0.10 --save
npm i survey-pdf@2.0.10 --save
React
npm i survey-core@2.0.10 survey-react-ui@2.0.10 --save
npm i survey-creator-core@2.0.10 survey-creator-react@2.0.10 --save
npm i survey-analytics@2.0.10 --save
npm i survey-pdf@2.0.10 --save
Vue.js
npm i survey-core@2.0.10 survey-vue3-ui@2.0.10 --save
npm i survey-creator-core@2.0.10 survey-creator-vue@2.0.10 --save
npm i survey-analytics@2.0.10 --save
npm i survey-pdf@2.0.10 --save
HTML/CSS/JavaScript
<link href="https://unpkg.com/survey-core@2.0.10/survey-core.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/survey-core@2.0.10/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/survey-js-ui@2.0.10/survey-js-ui.min.js"></script>
<script src="https://unpkg.com/survey-core@2.0.10/themes/index.min.js"></script>
<script src="https://unpkg.com/survey-creator-core@2.0.10/themes/index.min.js"></script>
<link href="https://unpkg.com/survey-creator-core@2.0.10/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/survey-creator-core@2.0.10/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/survey-creator-js@2.0.10/survey-creator-js.min.js"></script>
<link href="https://unpkg.com/survey-analytics@2.0.10/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@2.0.10/survey.analytics.min.js"></script>
<script src="https://unpkg.com/survey-pdf@2.0.10/survey.pdf.min.js"></script>