SurveyJS v1.9.115
Released: November 1, 2023
SurveyJS v1.9.115 introduces a breaking change: obsolete licensing API (the haveCommercialLicense
property) is no longer supported. In addition, this release adds a capability to dynamically specify default text box values in Multiple Textboxes questions and includes several bug fixes and minor enhancements.
[Breaking Change] Obsolete licensing API is no longer supported
Previously, you could remove alert banners in SurveyJS products by setting the haveCommercialLicense
property to true
. In v1.9.101, we added a new setLicenseKey(key)
method, which was working alongside haveCommercialLicense
but was going to eventually replace this property. Since the new v1.9.115 release, the haveCommercialLicense
property is no longer supported, and the setLicenseKey
method becomes the only way to activate your license. Please visit the following page for access to the key and instructions on how to update your code: How to Remove the Alert Banner.
Multiple Textboxes: Specify Default Values Dynamically
The new release adds a defaultValueExpression
property that allows you to specify default values for individual items in Multiple Textboxes questions. This property accept expressions. The following code shows a Multiple Textboxes question with two items: Start Date and End Date. The defaultValueExpression
property specifies today as the default Start Date and sets a date 10 days from today as the default End Date.
const surveyJson = {
"elements": [{
"type": "multipletext",
"name": "vacation-dates",
"title": "Vacation dates",
"items": [{
"name": "start",
"isRequired": true,
"inputType": "date",
"title": "Start",
"defaultValueExpression": "today()"
}, {
"name": "end",
"isRequired": true,
"inputType": "date",
"title": "End",
"defaultValueExpression": "today(10)"
}]
}]
}
Accessibility Tests
At SurveyJS, we are committed to ensuring the accessibility of our product to all users. To achieve this, we now conduct comprehensive accessibility tests for 15 different question types using a combination of powerful tools, specifically Axe and TestCafe. This allows us to make sure that the Web Content Accessibility Guidelines (WCAG) requirements outlined in the following accessibility standards are met when questions are rendered and interacted with:
- WCAG 2.0 Level A
- WCAG 2.0 Level AA
- WCAG 2.1 Level A
- WCAG 2.1 Level AA
New Help Topics in Survey Creator Documentation
Add Help Texts to Property Editors
Manage Image Uploads in Angular
Manage Image Uploads in Knockout / jQuery
New Blog Post
How to Capture and Upload Photos in SurveyJS Forms
Bug Fixes
Form Library
- Dynamic Matrix: No space between the last and total rows (#7243)
- Custom component: A question value is reset in preview when using
defaultValueExpression
(#7263) - It's impossible to change the default value of the
rowTitleWidth
property for all matrix question types (#7228) - Multi-Select Dropdown (Tag Box) inside a matrix detail form: An exception occurs when the form contains no visible elements (#7227)
- [Mobile] Multi-Select Matrix:
showHeader: false
doesn't work (#7217) - [Mobile] Character counter is broken (#7220)
- Single-Select Matrix within a Panel disappears after selecting the last column when the matrix contains many columns (#7233)
- An exclamation mark operator (
!
) produces an error in async expressions (#7268) defaultValueExpression
doesn't apply after settingsurvey.data
(#7276)
Survey Creator
- A duplicate of the first question is positioned incorrectly (#4826)
- Survey Creator crashes when you configure logic for a Dynamic Panel (#4824)
- Localization: The
theme.placeholderColor
string doesn't modify the text in the UI (#4815) - After the last question is deleted, Property Grid continues to display properties of the deleted question (#4841)
- Image Picker: Non-existing items appear on the design surface (#4830)