mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
[autocomplete] Search filter fix
This commit is contained in:
1 parent
994356628d
commit
9b0c417bc0
1 file changed
+1
-1
@@ -11,7 +11,7 @@ export default {
|
|||||||
const cleanedInput = normalizedInput.replace(pattern, '');
|
const cleanedInput = normalizedInput.replace(pattern, '');
|
||||||
|
|
||||||
// Check if the cleaned item starts with the cleaned input
|
// Check if the cleaned item starts with the cleaned input
|
||||||
return cleanedItem.toLowerCase().startsWith(cleanedInput.toLowerCase());
|
return cleanedItem.toLowerCase().includes(cleanedInput.toLowerCase());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user