SurveyJS Survey Creator v2.5.6
Released: Jan 15, 2026
v2.5.6 での更新項目
機能
- [Survey Creator] Expression Validation
- This Survey Creator release adds built-in expression validation that helps authors identify issues early. Survey Creator detects three types of errors:
- Unknown variable
- The expression references an undefined variable or an unknown question, panel, or page name. This check is disabled by default. To enable it, set the
expressionsValidateVariables property to true.
- Unknown function
- The expression references an unregistered function. You can disable this check by setting the
expressionsValidateFunctions property to false.
- Syntax error
- The expression contains invalid syntax, such as unmatched parentheses, missing operands, or invalid operators. You can disable this check by setting the
expressionsValidateSyntax property to false.
- Customize RegExp Validation Dynamically
- In SurveyJS, regular expressions are used to validate user input against custom rules. Previously, you could only define a pattern and specify whether matching should be case-sensitive. This release introduces the
onCreateRegexValidator event, which allows you to customize the regular expression and control additional matching behavior via flags.
不具合の修正
- Form Library
- Expressions: The 'contains' operator ignores the case sensitivity setting.
- Expressions are not re-evaluated when they depend on a survey object property and that property changes.
- Question number styling is incorrect after the question's visibility changes.
- toJSON() with validatePropertyValues: true treats choices whose value is an object as invalid.
- Localization JSON schemas are generated incorrectly when the survey includes composite or specialized questions.
- Ranking: Dragging a choice option causes ghosting artifacts.
- Survey Creator
- [Angular] Preview tab: Required mark disappears when the question receives focus.