Save button

This commit is contained in:
Simon Martens
2026-01-08 17:46:50 +01:00
parent 1656f60ac4
commit 93ea651c79
5 changed files with 1503 additions and 382 deletions

View File

@@ -506,6 +506,14 @@ export class MultiSelectSimple extends HTMLElement {
this._updateRootElementStateClasses();
}
captureInitialSelection() {
this._initialValue = [...this._value];
this._initialOrder = [...this._value];
this._removedIds.clear();
this._initialCaptured = true;
this._renderSelectedItems();
}
_synchronizeHiddenSelect() {
if (!this.hiddenSelect) return;
this.hiddenSelect.innerHTML = "";