Skip to content

Commit 922332e

Browse files
committed
Set always_show_buttons default value to True
1 parent 1c8b937 commit 922332e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Custom javascript functions must be wrapped into the JsCode class (see [Advanced
150150

151151
- **always_show_buttons**: Show buttons (create rule, etc.) even when they are not hovered
152152

153-
Default: False
153+
Default: True
154154

155155

156156
- **key**: Fixed identity if you want to change its arguments over time and not have it be re-created.

streamlit_condition_tree/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def condition_tree(config: dict,
104104
tree: dict = None,
105105
min_height: int = 400,
106106
placeholder: str = '',
107-
always_show_buttons: bool = False,
107+
always_show_buttons: bool = True,
108108
key: str = None,
109109
):
110110
"""Create a new instance of condition_tree.
@@ -128,7 +128,7 @@ def condition_tree(config: dict,
128128
placeholder: str
129129
Text displayed when the condition tree is empty
130130
Default: empty
131-
always_show_buttons: false
131+
always_show_buttons: boolean
132132
If false, buttons (add rule, etc.) will be shown only on hover
133133
Default: true
134134
key: str or None

0 commit comments

Comments
 (0)