Bug fix, case-insensitivity now works in dropdown filter.
This commit is contained in:
parent
c31da91716
commit
3a2a8a06d9
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ const DropDown = globalThis.DropDown ?? (globalThis.DropDown = {});
|
|||
|
||||
DropDown.utilities = {
|
||||
filterList(id) {
|
||||
value = document.getElementById(`${id}-filter`).value;
|
||||
value = document.getElementById(`${id}-filter`).value.toLowerCase();
|
||||
list = document.querySelectorAll(`#${id}-dropdown li`);
|
||||
|
||||
list.forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue