Refactor combo box integration; streamline onAdd, onRemove, and onEdit parameters in render_combobox macro for improved functionality and readability
This commit is contained in:
parent
d3a9b6dbd5
commit
b182e30c43
3 changed files with 71 additions and 26 deletions
|
@ -1,6 +1,4 @@
|
|||
const ComboBoxWidget = (() => {
|
||||
let tempIdCounter = -1;
|
||||
|
||||
function initComboBox(ns, config = {}) {
|
||||
const input = document.querySelector(`#${ns}-input`);
|
||||
const list = document.querySelector(`#${ns}-list`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue