I think i figured it out. I added .toUpperCase() to the filter value for the searchbar keypress event.
Is the following code correct?
export function searchBar_keyPress_1(event) {
if (debounceTimer) {
clearTimeout(debounceTimer);
debounceTimer = undefined;
}
debounceTimer = setTimeout(() => {
filter($w("#searchBar").value.toUpperCase(), lastFilterPrice);
}, 100);
}