SurveyJS v1.12.6
Released: October 15, 2024
SurveyJS v1.12.6 implements support for immediate validation in date input fields and an API to make custom properties available for matrix columns in Survey Creator.
Date Input Fields: Support for Immediate Validation
A survey supports immediate data validation if you set the checkErrorsMode
property to "onValueChanged"
and optionally the textUpdateMode
property to "onTyping"
. Previously, these settings didn't affect Single-Line Input form fields with the inputType
property set to "date"
or "datetime"
. These form fields were only validated when users switched to the next page or completed the survey. Starting with SurveyJS v1.12.6, immediate data validation works for date input fields as well as for input fields of other types.
Survey Creator: Make custom properties available for matrix columns
Columns in a Multi-Select or Dynamic Matrix contain editors for SurveyJS Form Library. When adding a custom property to a standalone editor, you can now enable the availableInMatrixColumn
setting to make this property available for matrix columns of the same editor type.
New Help Topics
Survey Creator: Survey Theming
Survey Creator: Customize the Survey Look
New and Updated Demos
Bug Fixes and Minor Enhancements
Form Library
- Date input fields do not support immediate validation of partially entered values (#8928)
- Long Text: A resize handle disappeared in newer versions (#8919)
- Dynamic Panel: The "Validation expression" dialog in Survey Creator doesn't contain
{panel.questionName}
options (#8914) - Dynamic Matrix:
"defaultValueExpression": "{rowIndex}"
always shows 1 if therowsVisibleIf
expression is specified (#8920) - Long Text is not reactive when a
visibleIf
expression is specified (#8921)
Survey Creator
- Adorner actions appear with a delay (#5956)
- Theme Editor: "Logo alignment" doesn't work in a basic header view (#5939)
How to Update SurveyJS Libraries in Your Application
Angular
npm i survey-core@1.12.6 survey-angular-ui@1.12.6 --save
npm i survey-creator-core@1.12.6 survey-creator-angular@1.12.6 --save
npm i survey-analytics@1.12.6 --save
npm i survey-pdf@1.12.6 --save
React
npm i survey-core@1.12.6 survey-react-ui@1.12.6 --save
npm i survey-creator-core@1.12.6 survey-creator-react@1.12.6 --save
npm i survey-analytics@1.12.6 --save
npm i survey-pdf@1.12.6 --save
Vue 3
npm i survey-core@1.12.6 survey-vue3-ui@1.12.6 --save
npm i survey-creator-core@1.12.6 survey-creator-vue@1.12.6 --save
npm i survey-analytics@1.12.6 --save
npm i survey-pdf@1.12.6 --save
Vue 2
npm i survey-core@1.12.6 survey-vue-ui@1.12.6 --save
npm i survey-creator-core@1.12.6 survey-creator-knockout@1.12.6 --save
npm i survey-analytics@1.12.6 --save
npm i survey-pdf@1.12.6 --save
HTML/CSS/JavaScript
<link href="https://unpkg.com/survey-core@1.12.6/defaultV2.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/survey-core@1.12.6/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/survey-js-ui@1.12.6/survey-js-ui.min.js"></script>
<script src="https://unpkg.com/survey-core@1.12.6/themes/index.min.js"></script>
<link href="https://unpkg.com/survey-creator-core@1.12.6/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/survey-creator-core@1.12.6/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/survey-creator-js@1.12.6/survey-creator-js.min.js"></script>
<link href="https://unpkg.com/survey-analytics@1.12.6/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@1.12.6/survey.analytics.min.js"></script>
<script src="https://unpkg.com/survey-pdf@1.12.6/survey.pdf.min.js"></script>