SurveyJS PDF Generator v2.5.20
Released: Apr 14, 2026
v2.5.20 中的更新
特性
- Expressions:
minInArray and maxInArray support returning values from related fields:
- The
minInArray and maxInArray functions compute the minimum or maximum numeric value from a specified field within an array (for example, Multi-Select Matrix, Dynamic Matrix, or Dynamic Panel responses).
- Previously, these functions always returned only the computed numeric value from the target field. With this update, they can optionally return a value from another field in the same array item that produced the min/max result.
- To accommodate this enhancement, the argument order has been updated:
- The third argument can specify either a return field or a filter condition.
- When a return field is provided as the third argument, the filter condition must now be passed as the fourth argument.
修補程式
- Form Library
age() is not calculated when the DateTime value doesn't match the specified mask and saveMaskedValue is enabled.
- Single-Line Input: Display value ignores the mask when using
"defaultValueExpression": "today()".
- [Survey Creator] Multi-Select Matrix:
allowClear is preserved when changing cellType from "default" to "radiogroup", although radio columns do not support it.
- Matrix cell values in expressions: Reference placeholder is displayed until the actual cell value is defined.
isContainerReady() expression function returns true even when not all required questions are specified.
- Dropdown: Custom item template is not rendered in read-only mode.
- Visibility expression evaluates incorrectly when it relies on RegExp validation and references a calculated value and the
containsErrors property.
- Dynamic Matrix column: Unique value validation is bypassed when expression validator is used.
- Survey Creator
- [Vanilla JS] TypeScript build breaks after migrating from Webpack to Rollup.
- Property Grid: Survey element selector persists in a custom sidebar component.
- Design surface: "Choices are loaded from a web service" message overflows its container in certain cases.