Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Checkbox state changes to checked(true) without the right interaction #5

Open
GedionT opened this issue Oct 3, 2024 · 0 comments · May be fixed by #6
Open

[BUG]: Checkbox state changes to checked(true) without the right interaction #5

GedionT opened this issue Oct 3, 2024 · 0 comments · May be fixed by #6
Assignees
Labels
bug Something isn't working

Comments

@GedionT
Copy link
Member

GedionT commented Oct 3, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to standard components on st-undp > forms > checkbox
  2. Interact with any of the other form elements without having to click on the checkbox itself
  3. The checkbox state turns to a checked when it shouldn't be

or

import st_undp
import streamlit as st

st_undp.apply_style()

with st.container():
  st.checkbox("Checkbox")

then interact with the container without explicitly clicking on the checkbox

Expected behavior
The checkbox should be in 'checked' state only when clicked on

Screenshots
image

Desktop (please complete the following information):

  • All devices

Smartphone (please complete the following information):

  • All devices

Additional context
None

@GedionT GedionT added the bug Something isn't working label Oct 3, 2024
@GedionT GedionT self-assigned this Oct 3, 2024
@GedionT GedionT linked a pull request Oct 15, 2024 that will close this issue
8 tasks
@GedionT GedionT linked a pull request Oct 15, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant