Update version to 2.2.3

This commit is contained in:
Jiaxin Peng
2024-02-19 20:51:47 +00:00
parent 9e15044f6a
commit ee5aada1b9
5 changed files with 14 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ export class CustomModal extends Modal {
}
)
} else {
propertyLine
propertyLine
.setName(i18nConfig.CustomProperty + (propertyIndex))
propertyLine.addText((text) => {
@@ -60,6 +60,7 @@ export class CustomModal extends Modal {
propertyLine.addDropdown((dropdown) => {
dropdown
// .addOption("none", '')
.addOption("text", "Text")
.addOption("number", "Number")
.addOption("select", "Select")
@@ -78,7 +79,7 @@ export class CustomModal extends Modal {
// .addOption("created_by", "Created by")
// .addOption("last_edited_time", "Last Edited Time")
// .addOption("last_edited_by", "Last Edited By")
.setValue("text")
.setValue("")
.onChange(async (value) => {
this.properties[propertyIndex].customType = value; // Update the customType of the specific property
});