Survey Now v2.2.6
Released: July 22, 2025
Survey Now v2.2.6 introduces a breaking change: settings.confirmActionFunc is now undefined by default. This release also includes bug fixes and minor enhancements.
[Breaking Change] settings.confirmActionFunc is now undefined by default
Previously, the confirmActionFunc setting allowed you to display a browser confirmation dialog with a custom message, similar to using the standard window.confirm(message) method.
Starting with Form Library v2.2.6, confirmActionFunc is undefined by default and must be explicitly defined before use. This change resolves cases where confirmActionFunc was defined but not executed and streamlines its relationship with the related confirmActionAsync function.
To maintain compatibility, replace any use of settings.confirmActionFunc with window.confirm():
Before:
import { settings } from "survey-core";
const result = settings.confirmActionFunc("Are you sure?");
After:
const result = window.confirm("Are you sure?");
This breaking change only affects applications relying on the default
confirmActionFunc. If your application provides a custom implementation, no changes are required.
New Blog Posts
Custom-Branded Extensible Form Solution for JavaScript Apps
Bug Fixes and Minor Enhancements
Form Library
- Multi-Select Dropdown / Tag Box: A choice item with a value of 0 cannot be selected (#10148)
- Questions with
saveMaskedValueset totruework incorrectly in calculations within a matrix (#10095) - File Upload doesn't release camera if you leave without taking a photo (#10013)
- Dropdown: The Clear button has a wrong caption in Hungarian (#10133)
- Default value for a survey element's
visibleproperty cannot be changed (#10135) - [Accessibility] Expression question renders a
<div>withrole="textbox", even though it's not a text input (#10138) - [Accessibility] Rating Scale elements use unsupported ARIA attributes (#10137)
- Locale code for the Greek language is incorrect (#10156)
- Auto-advance doesn't work with specialized question types (#10149)
- Radio Button Group:
undefinedappears in the comment area for the Other choice option (#10159)
Survey Creator
- Character counter displays a wrong number of characters on the design surface (#7032)
- Expand/collapse and zoom action icons appear too small when Survey Creator is integrated into a Next.js project that uses Tailwind CSS (#7034)
- Conditional rules are not updated when a choice value of a source matrix is changed (#7039)
- Toolbox: Custom components cannot be used to customize toolbox categories (#7030)
- Property Grid: Validation rule type selector changes its width depending on the text length (#7037)
PDF Generator
- Radio Button Group options appear in a single column regardless of the
colCountsetting (#420)
How to Update Survey Now Libraries in Your Application
Angular
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
React
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
Vue.js
npm i [email protected] [email protected] --save
npm i [email protected] [email protected] --save
npm i [email protected] --save
npm i [email protected] --save
HTML/CSS/JavaScript
<link href="https://unpkg.com/[email protected]/survey-core.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/[email protected]/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/[email protected]/survey-js-ui.min.js"></script>
<script src="https://unpkg.com/[email protected]/themes/index.min.js"></script>
<script src="https://unpkg.com/[email protected]/themes/index.min.js"></script>
<link href="https://unpkg.com/[email protected]/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/[email protected]/survey-creator-js.min.js"></script>
<link href="https://unpkg.com/[email protected]/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/survey.analytics.min.js"></script>
<script src="https://unpkg.com/[email protected]/survey.pdf.min.js"></script>
<script src="https://unpkg.com/[email protected]/pdf-form-filler.min.js"></script>