Skip to content

Commit 6b954a6

Browse files
committed
Allow for editable and selection modes to co exist
1 parent 44b57f1 commit 6b954a6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

shiny/render/_data_frame_utils/_selection.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -424,14 +424,4 @@ def as_selection_modes(
424424

425425
selection_mode_set = cast(Set[SelectionMode], set(selection_mode_val))
426426

427-
# TODO-barret-render.data_frame; Fix user cell edit/select interaction model to make this work!
428-
# Disable selection_mode if `editable=True``
429-
if editable and not selection_mode_set.issubset(none_set):
430-
warnings.warn(
431-
'`editable` can not currently be `True` while `selection_mode` != `"none"`. '
432-
'Setting `selection_mode=("none",)`',
433-
stacklevel=3,
434-
)
435-
return SelectionModes(selection_mode_set={"none"})
436-
437427
return SelectionModes(selection_mode_set=selection_mode_set)

0 commit comments

Comments
 (0)