fix: show dropdown on input box click
This commit is contained in:
parent
ef180987a6
commit
4f19cc662e
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||
["filter3", sq2ItemFilters],
|
||||
["filter4", sq2ItemFilters]]);
|
||||
for (const [field, data] of filterInputs) {
|
||||
let field_choice = document.getElementById(field+"-choice");
|
||||
// show dropdown on click
|
||||
field_choice.onclick = function() {field_choice.dispatchEvent(new Event('input', {bubbles:true}));};
|
||||
filterInputs.set(field, new autoComplete({
|
||||
data: {
|
||||
src: data,
|
||||
|
|
Loading…
Add table
Reference in a new issue