From 22703c80a20c5e237d5d95b740b31fb9a229538f Mon Sep 17 00:00:00 2001 From: Toil <62353659+ilyhalight@users.noreply.github.com> Date: Thu, 9 Jan 2025 19:30:45 +0300 Subject: [PATCH] chore: added selected value to onSelectCB in createVOTSelect --- src/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui.js b/src/ui.js index d23398a3..6f32f4d8 100644 --- a/src/ui.js +++ b/src/ui.js @@ -642,7 +642,7 @@ export function createVOTSelect(selectTitle, dialogTitle, items, options = {}) { i.selected = i.value === value; } updateTitle(); - await onSelectCb(e); + await onSelectCb(e, value); } }; contentList.appendChild(contentItem);