mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-10 09:49:54 +00:00
fixes for reasoning display & storing data
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
set: (value) => {
|
||||
descriptor.set.call(this.#_select, value);
|
||||
|
||||
this.#_select.dispatchEvent(new Event("change"));
|
||||
|
||||
this.#set(value);
|
||||
},
|
||||
});
|
||||
@@ -78,7 +80,7 @@
|
||||
_opt.textContent = option.label;
|
||||
|
||||
_opt.addEventListener("click", () => {
|
||||
this.#set(option.value);
|
||||
this.#_select.value = option.value;
|
||||
|
||||
this.#_dropdown.classList.remove("open");
|
||||
});
|
||||
|
Reference in New Issue
Block a user