1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-08 17:28:46 +01:00

Don't eat spaces while searching (#21479)

This commit is contained in:
Simon Lamon
2024-07-31 10:58:39 +02:00
committed by GitHub
parent dd74a35d3f
commit 0aa25dbed9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -610,7 +610,7 @@ export class HaDataTable extends LitElement {
filteredData = await this._memFilterData(
this.data,
this._sortColumns,
this._filter
this._filter.trim()
);
}
+1 -1
View File
@@ -79,7 +79,7 @@ class SearchInputOutlined extends LitElement {
}
private async _filterInputChanged(e) {
this._filterChanged(e.target.value?.trim());
this._filterChanged(e.target.value);
}
private async _clearSearch() {
+1 -1
View File
@@ -67,7 +67,7 @@ class SearchInput extends LitElement {
}
private async _filterInputChanged(e) {
this._filterChanged(e.target.value?.trim());
this._filterChanged(e.target.value);
}
private async _clearSearch() {