Skip to content

Commit

Permalink
Merge pull request #4 from ObservedObserver/dev
Browse files Browse the repository at this point in the history
fix: select key bug
  • Loading branch information
ObservedObserver authored Nov 23, 2023
2 parents 39509ad + 474cfe8 commit 262a761
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "streamlit-shadcn-ui"
version = "0.1.6"
version = "0.1.7"
readme = "README.md"
keywords = ["streamlit", "shadcn", "ui", "components"]
description = "Using shadcn components in Streamlit"
Expand Down
2 changes: 1 addition & 1 deletion streamlit_shadcn_ui/py_components/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def select_options(options: list[str], x, y, open_status=False, key=None, defaul
name = "select_options"
_component_func = declare_component(name)
register_callback(key=key, callback=on_change, args=args, kwargs=kwargs)
container = stylable_container(key=f"cont_${key}", css_styles=f"""
container = stylable_container(key=f"cont_{key}", css_styles=f"""
{{
position: absolute;
top: {y}px;
Expand Down

0 comments on commit 262a761

Please sign in to comment.