From cfa4c14108cef75d064e432142ac814d95e3363f Mon Sep 17 00:00:00 2001 From: Yosi Levy Date: Sun, 19 Jul 2020 05:56:39 +0300 Subject: [PATCH] Added search label support to ha-data-table --- src/components/data-table/ha-data-table.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/data-table/ha-data-table.ts b/src/components/data-table/ha-data-table.ts index 05283fb7db..912d0b02c4 100644 --- a/src/components/data-table/ha-data-table.ts +++ b/src/components/data-table/ha-data-table.ts @@ -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 {
`