release notes

SurveyJS v2.2.6

Released: July 22, 2025

SurveyJS 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 saveMaskedValue set to true work 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 visible property cannot be changed (#10135)
  • [Accessibility] Expression question renders a <div> with role="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: undefined appears 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 colCount setting (#420)

How to Update SurveyJS Libraries in Your Application

Angular
npm i survey-core@v2.2.6 survey-angular-ui@v2.2.6 --save
npm i survey-creator-core@v2.2.6 survey-creator-angular@v2.2.6 --save
npm i survey-analytics@v2.2.6 --save
npm i survey-pdf@v2.2.6 --save
React
npm i survey-core@v2.2.6 survey-react-ui@v2.2.6 --save
npm i survey-creator-core@v2.2.6 survey-creator-react@v2.2.6 --save
npm i survey-analytics@v2.2.6 --save
npm i survey-pdf@v2.2.6 --save
Vue.js
npm i survey-core@v2.2.6 survey-vue3-ui@v2.2.6 --save
npm i survey-creator-core@v2.2.6 survey-creator-vue@2.2.6 --save
npm i survey-analytics@2.2.6 --save
npm i survey-pdf@2.2.6 --save
HTML/CSS/JavaScript
<link href="https://unpkg.com/survey-core@2.2.6/survey-core.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/survey-core@2.2.6/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/survey-js-ui@2.2.6/survey-js-ui.min.js"></script>

<script src="https://unpkg.com/survey-core@2.2.6/themes/index.min.js"></script>
<script src="https://unpkg.com/survey-creator-core@2.2.6/themes/index.min.js"></script>

<link href="https://unpkg.com/survey-creator-core@2.2.6/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/survey-creator-core@2.2.6/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/survey-creator-js@2.2.6/survey-creator-js.min.js"></script>

<link href="https://unpkg.com/survey-analytics@2.2.6/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@2.2.6/survey.analytics.min.js"></script>

<script src="https://unpkg.com/survey-pdf@2.2.6/survey.pdf.min.js"></script>
<script src="https://unpkg.com/survey-pdf@2.2.6/pdf-form-filler.min.js"></script>

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.