Hi,
I'm looking for a way to remove properties for questions created by a custom toolbox item. For example, to remove the visible
property from a custom placeholders
toolbox item, I'd do:
JavaScriptcreator.toolbox.addItem({
name: "placeholders",
iconName: "icon-default",
title: "Placeholders",
json: {
type: "multipletext",
optionsCaption: "Placeholders",
items: []
}
});
SurveyKo.Serializer.removeProperty("placeholders", "visible");
Unfortunately, "placeholders" isn't a class name recognized by the serializer, so the last statement is a noop.
Is there an alternative way to achieve it?