Open sfc-gh-pkommini opened 10 months ago
Also found that removing the last argument to configure_selection
for picking pre_selected_rows
from session_state
maybe the culprit here:
This doesn't work.
options.configure_selection(
selection_mode='multiple',
use_checkbox=True,
header_checkbox=True,
pre_selected_rows=st.session_state.pre_selected_rows,
)
This works without the error.
options.configure_selection(
selection_mode='multiple',
use_checkbox=True,
header_checkbox=True,
)
Workaround that unblocks me.
if not st.session_state.pre_selected_rows:
options.configure_selection(
selection_mode='multiple',
use_checkbox=True,
header_checkbox=True,
)
else:
options.configure_selection(
selection_mode='multiple',
use_checkbox=True,
header_checkbox=True,
pre_selected_rows=st.session_state.pre_selected_rows,
)
Error Trace:
Hi Team,
I'm using the following code but I constantly get the above error. Has anyone faced this before or know what I'm doing wrong?