From c8a9034ab1bb5a6cc6d5d9ce58cdbdf5573b7e80 Mon Sep 17 00:00:00 2001 From: Andrew <15331990+ahuang11@users.noreply.github.com> Date: Fri, 8 Nov 2024 03:13:16 -0800 Subject: [PATCH] Add tabulator filter placeholder (#741) --- lumen/ai/agents.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lumen/ai/agents.py b/lumen/ai/agents.py index 248c7f078..b2276ad74 100644 --- a/lumen/ai/agents.py +++ b/lumen/ai/agents.py @@ -435,7 +435,9 @@ async def respond( widths={'Table': '90%'}, disabled=True, page_size=10, - header_filters=True + header_filters={ + "Table": {"type": "input", "placeholder": "Filter by..."}, + } ) table_list.on_click(self._use_table) self.interface.stream(table_list, user="Lumen")