Skip to content

Commit

Permalink
Set always_show_buttons default value to True
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricvlt committed Oct 27, 2024
1 parent 1c8b937 commit 922332e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Custom javascript functions must be wrapped into the JsCode class (see [Advanced

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

Default: False
Default: True


- **key**: Fixed identity if you want to change its arguments over time and not have it be re-created.
Expand Down
4 changes: 2 additions & 2 deletions streamlit_condition_tree/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def condition_tree(config: dict,
tree: dict = None,
min_height: int = 400,
placeholder: str = '',
always_show_buttons: bool = False,
always_show_buttons: bool = True,
key: str = None,
):
"""Create a new instance of condition_tree.
Expand All @@ -128,7 +128,7 @@ def condition_tree(config: dict,
placeholder: str
Text displayed when the condition tree is empty
Default: empty
always_show_buttons: false
always_show_buttons: boolean
If false, buttons (add rule, etc.) will be shown only on hover
Default: true
key: str or None
Expand Down

0 comments on commit 922332e

Please sign in to comment.