Skip to content

Commit

Permalink
Correctly set initial return value to passed in value
Browse files Browse the repository at this point in the history
  • Loading branch information
blackary committed Aug 31, 2022
1 parent 09c282c commit c96b9cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="streamlit-keyup",
version="0.1.5",
version="0.1.6",
author="Zachary Blackwood",
author_email="[email protected]",
description="Text input that renders on keyup",
Expand Down
2 changes: 1 addition & 1 deletion src/st_keyup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def st_keyup(
value=value,
key=key,
debounce=debounce,
default="",
default=value,
)

return component_value
Expand Down

0 comments on commit c96b9cf

Please sign in to comment.