Hello ,
I am trying to develop a graphic extension. I created a button in the extension properties field. When I click on the button, I want to add the dropdowns that already exist . For example, when I press the dateDropdown button, it should be added to the properties field again.However, it does not make this addition with the code below. Do you have a solution? Thank you.
var addedButton = {
type: "string",
component: "button",
label: "Add New Set",
ref: "settings.Milestone.addedButton",
action: function (data) {
console.log(data)
var newSettingsSet = {
dateDropdown: dateDropdown,
missionDropdown: missionDropdown
};
settingsSets.push(newSettingsSet);
globalSettings.items.settings.items.milestones.items = settingsSets;
}
}