Skip to content

Commit

Permalink
chore: added selected value to onSelectCB in createVOTSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyhalight committed Jan 9, 2025
1 parent 86b8a92 commit 22703c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 22703c8

Please sign in to comment.