Added trim to Vue table search to ignore leading/trailing spaces (#10550)
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run

This commit is contained in:
Manuel Ceroni 2026-07-06 12:05:15 +02:00 committed by GitHub
parent 1726494382
commit 9af254f7f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -644,7 +644,7 @@ function filterRows(rows, searchTerm) {
return rows;
}
searchTerm = searchTerm.toLowerCase();
searchTerm = searchTerm.trim().toLowerCase();
return rows.filter(row => {
// Check each visible column for the search term