mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 20:26:39 +00:00
Added search label support to ha-data-table
This commit is contained in:
parent
ba67b1291f
commit
cfa4c14108
@ -98,6 +98,8 @@ export class HaDataTable extends LitElement {
|
||||
|
||||
@property({ type: String }) public noDataText?: string;
|
||||
|
||||
@property({ type: String }) public searchLabel = "";
|
||||
|
||||
@property({ type: String }) public filter = "";
|
||||
|
||||
@internalProperty() private _filterable = false;
|
||||
@ -202,6 +204,7 @@ export class HaDataTable extends LitElement {
|
||||
<div class="table-header">
|
||||
<search-input
|
||||
@value-changed=${this._handleSearchChange}
|
||||
.label=${this.searchLabel}
|
||||
></search-input>
|
||||
</div>
|
||||
`
|
||||
|
Loading…
x
Reference in New Issue
Block a user