SurveyJS v1.9.92
Released: June 14, 2023
SurveyJS v1.9.92 introduces visual indication of overridden properties choices copied from another question in Survey Creator, features a new API to show and hide Dashboard charts, and includes several bug fixes.
Survey Creator: Visual indication of overridden properties
Certain survey element properties depend on other properties. For example, the visible property value can be determined by the visibleIf expression. Since the new Survey Creator release, Property Grid indicates properties that are overridden by other properties and displays jump links to the overriding properties.
To implement this functionality, we added a new a survey element property setting—overridingProperty. It specifies a property that can override the current property. For example, the visible property now has the following configuration:
Serializer.addClass("question", [
// ...
{ name: "visible:switch", default: true, overridingProperty: "visibleIf" },
// ...
]
Survey Creator: Visual indication of choices copied from another question
Survey Creator v1.9.92 introduces the following design surface enhancement: if a select-based question (Radio Button Group, Checkboxes, Single- or Multi-Select Dropdown) copies its choices from another question, the design surface displays a visual cue with a link to the master question:
Dashboard: API to show and hide all charts
In the new release, VisualizationPanel introduces new showAllElements() and hideAllElements() methods. They allow you to control the visibility of all charts within a VisualizationPanel collectively. These methods are useful, for example, if you want to hide all charts initially and let your users select which charts they want to display.
Bug Fixes
Form Library
- Wrong colors for the required asterisk and question numbers (#6305)
- After a page is hidden, Table of Contents navigates a user to a wrong page (#6321)
- Questions that use
choicesFromQuestiondo not get populated with preloaded data (#6328) - [Angular]
maxOthersLengthdoesn't work (#6330)
Survey Creator
onElementAllowOperations:options.allowEdit = falsedoesn't disable image upload for an Image question (#4211)
Dashboard