This commit is contained in:
Carlos Satorres 2024-02-08 10:11:00 +01:00
commit 1cc9502328
1 changed files with 1 additions and 1 deletions
src/components/common

View File

@ -79,7 +79,7 @@ onMounted(() => {
if ($props.url && $props.modelValue) fetchFilter($props.modelValue);
});
async function filter(val, options) {
function filter(val, options) {
const search = val.toString().toLowerCase();
if (!search) return options;