diff --git a/lumen/ai/ui.py b/lumen/ai/ui.py index 1aac4d426..0de461de2 100644 --- a/lumen/ai/ui.py +++ b/lumen/ai/ui.py @@ -311,9 +311,12 @@ def _set_context(self, event): def _table_explorer(self): from panel_gwalker import GraphicWalker - table_select = MultiChoice(sizing_mode='stretch_width', max_height=200, margin=(5, 0), max_items=3) + table_select = MultiChoice( + sizing_mode='stretch_width', max_height=200, margin=(5, 0), max_items=5 + ) load_button = Button( - name='Load table(s)', icon='table-plus', button_type='primary', align='center' + name='Load table(s)', icon='table-plus', button_type='primary', align='center', + disabled=table_select.param.value.rx().rx.not_() ) source_map = {}