});
if (id) {
DatePicker.setDate(id, new Date(value));
+ return;
}
+
+ element.value = value;
} else if (element instanceof HTMLInputElement) {
+ if (element.classList.contains("itemListInputShadow")) {
+ const itemList = element.nextElementSibling as HTMLElement;
+ if (itemList?.classList.contains("inputItemList")) {
+ setItemListValues(
+ itemList.dataset.elementId!,
+ value.split(",").map((value) => {
+ return {
+ objectId: 0,
+ value: value.trim(),
+ };
+ }),
+ );
+ }
+
+ return;
+ }
+
if (element.type === "checkbox") {
element.checked = true;
} else {
});
if (id) {
Picker_1.default.setDate(id, new Date(value));
+ return;
}
+ element.value = value;
}
else if (element instanceof HTMLInputElement) {
+ if (element.classList.contains("itemListInputShadow")) {
+ const itemList = element.nextElementSibling;
+ if (itemList === null || itemList === void 0 ? void 0 : itemList.classList.contains("inputItemList")) {
+ (0, ItemList_1.setValues)(itemList.dataset.elementId, value.split(",").map((value) => {
+ return {
+ objectId: 0,
+ value: value.trim(),
+ };
+ }));
+ }
+ return;
+ }
if (element.type === "checkbox") {
element.checked = true;
}
<item name="wcf.user.profile.customization" />
<item name="wcf.acp.option.enable_desktop_notifications"/>
<item name="wcf.acp.option.enable_desktop_notifications.description"/>
+ <item name="wcf.search.matchExactly" />
+ <item name="wcf.search.subjectOnly" />
</delete>
</language>
<item name="wcf.user.profile.customization" />
<item name="wcf.acp.option.enable_desktop_notifications"/>
<item name="wcf.acp.option.enable_desktop_notifications.description"/>
+ <item name="wcf.search.matchExactly" />
+ <item name="wcf.search.subjectOnly" />
</delete>
</language>