SurveyJS v3.2.6
Released: November 17, 2026
SurveyJS v3.2.6 adds Monaco Editor support to the JSON Editor tab in Survey Creator and improves the accessibility of the Survey Creator design surface. It also includes bug fixes and minor enhancements.
[Survey Creator] Monaco Editor in the JSON Editor Tab
Survey Creator can now use Monaco Editor, the code editor that powers Visual Studio Code, in the JSON Editor tab. Monaco provides syntax highlighting, bracket matching, code folding, and find and replace for survey JSON schemas. Right-click the editor and select Format Document to reformat the schema. Errors that prevent the JSON schema from being applied are underlined in the editor, and hovering over an underlined fragment displays the error message. When Survey Creator uses a dark color palette, the editor switches to its dark theme.
Survey Creator detects Monaco automatically. Install Survey Creator for your framework, then install Monaco:
npm install monaco-editor
Load Monaco and assign it to window.monaco before you create a Survey Creator instance:
import * as monaco from "monaco-editor";
import { SurveyCreatorModel } from "survey-creator-core";
window.monaco = monaco;
const creator = new SurveyCreatorModel(creatorOptions);
If Monaco isn't loaded, the JSON Editor tab uses the Ace editor when it is available and a plain text area otherwise.
Configure Monaco Workers (Optional)
Monaco runs JSON diagnostics, completion, and hover information in web workers. For a large survey JSON schema, configure these workers so this work stays off the main thread. The JSON Editor tab needs the JSON worker and the base editor worker. Set self.MonacoEnvironment before the creator is constructed.
On Vite, import the worker files with the ?worker suffix. monaco-editor 0.57 does not expose these files through its exports map, and Vite 4.5 rejects a ?worker import that relies on that map, so import the files by their path inside the package:
import editorWorker from "monaco-editor/esm/vs/editor/editor.worker.js?worker";
import jsonWorker from "monaco-editor/esm/vs/language/json/json.worker.js?worker";
self.MonacoEnvironment = {
getWorker(_, label) {
if (label === "json") {
return new jsonWorker();
}
return new editorWorker();
}
};
If the bundler still rejects these specifiers, import the same files from node_modules:
import editorWorker from "../node_modules/monaco-editor/esm/vs/editor/editor.worker.js?worker";
import jsonWorker from "../node_modules/monaco-editor/esm/vs/language/json/json.worker.js?worker";
Put this setup in its own module and import that module before survey-creator-core.
Without the workers, the editor still opens, and Survey Creator still reports its own JSON errors. Monaco's language service does not start: its worker request fails, and Monaco does not show markers such as "Expected comma or closing bracket".
[Survey Creator] Accessibility Improvements on the Design Surface
This release makes the Survey Creator design surface easier to use with a keyboard and a screen reader:
- Page containers are no longer Tab stops. Each page container has
role="group"and a short accessible name: the page title, or the page name if the title is empty. - The Add Question button is a native button. The question type selector next to it has its own name: "Select question type".
- Toolbox items are announced as a list.
- Each choice's Remove button names the choice it removes.
- The logo placeholder in the survey header is announced as an "Upload logo" button.
Bug Fixes and Minor Enhancements
Form Library
- Expression question placed above a matrix doesn't recalculate when a matrix row becomes visible (#12316)
- [Accessibility] Dynamic Matrix: Empty-state message is not associated with the Add Row button (#12280)
dateAdd()returnsnullwhen the amount is 0 and concatenates an amount specified as a string instead of adding it (#12323)- Complete trigger throws a TypeError when a calculated value satisfies the trigger condition and
settings.triggers.executeCompleteOnValueChangedistrue(#12333)
Survey Creator
- Property Grid: A custom
multiplevaluesproperty withdependsOnloses its values when the property it depends on changes (#8157) - Themes tab: Editing a theme that contains
nullvalues throws "Cannot convert undefined or null to object" (#8156) - Renaming a matrix doesn't rename
{matrix-total.column}references in conditions and validators (#8158)
Dashboard
- Date range filter is displayed incorrectly on mobile devices (#885)
- Chart colors are not repeated for answers beyond the palette size when
answersOrderis"asc"or"desc"(#892)
How to Update SurveyJS Libraries in Your Application
To update your application to SurveyJS v3.2.6, install the packages you use or replace your existing script and stylesheet links with the versioned links below:
Angular
npm i survey-core@3.2.6 survey-angular-ui@3.2.6
npm i survey-creator-core@3.2.6 survey-creator-angular@3.2.6
npm i survey-analytics@3.2.6
npm i survey-pdf@3.2.6
React
npm i survey-core@3.2.6 survey-react-ui@3.2.6
npm i survey-creator-core@3.2.6 survey-creator-react@3.2.6
npm i survey-analytics@3.2.6
npm i survey-pdf@3.2.6
Vue.js
npm i survey-core@3.2.6 survey-vue3-ui@3.2.6
npm i survey-creator-core@3.2.6 survey-creator-vue@3.2.6
npm i survey-analytics@3.2.6
npm i survey-pdf@3.2.6
HTML/CSS/JavaScript
<link href="https://unpkg.com/survey-core@3.2.6/survey-core.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="https://unpkg.com/survey-core@3.2.6/survey.core.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/survey-js-ui@3.2.6/survey-js-ui.min.js"></script>
<script src="https://unpkg.com/survey-core@3.2.6/themes/index.min.js"></script>
<link href="https://unpkg.com/survey-creator-core@3.2.6/survey-creator-core.min.css" type="text/css" rel="stylesheet">
<script src="https://unpkg.com/survey-creator-core@3.2.6/survey-creator-core.min.js"></script>
<script src="https://unpkg.com/survey-creator-js@3.2.6/survey-creator-js.min.js"></script>
<link href="https://unpkg.com/survey-analytics@3.2.6/survey.analytics.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@3.2.6/survey.analytics.min.js"></script>
<link href="https://unpkg.com/survey-analytics@3.2.6/survey.analytics.tabulator.min.css" rel="stylesheet">
<script src="https://unpkg.com/survey-analytics@3.2.6/survey.analytics.tabulator.min.js"></script>
<script src="https://unpkg.com/survey-pdf@3.2.6/survey.pdf.min.js"></script>
<script src="https://unpkg.com/survey-pdf@3.2.6/pdf-form-filler.min.js"></script>
If you are upgrading from v2.x, review the breaking changes introduced in SurveyJS v3.0 and subsequent updates.