mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[bugy & CR]
This commit is contained in:
1 parent
4f7847bc1b
commit
88792943e6
20 files changed
+201
-107
No files matched your search
@@ -10,8 +10,8 @@ export default {
|
||||
const cleanedItem = normalizedItem.replace(pattern, '');
|
||||
const cleanedInput = normalizedInput.replace(pattern, '');
|
||||
|
||||
// Check if the cleaned item starts with the cleaned input
|
||||
return cleanedItem.toLowerCase().includes(cleanedInput.toLowerCase());
|
||||
// Check if the cleaned item starts with the cleaned input and return empty value for dropdown if present
|
||||
return cleanedItem.toLowerCase().includes(cleanedInput.toLowerCase()) || item === '';
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user