Skip to content

Conversation

@ExcellentAmericanEagle
Copy link
Contributor

Description

  • Added bool_input property to Dataframe which affects how inputs of type bool are rendered in table cells
  • The default is "checkbox" which displays a checkbox, but it can be set to "text" to preserve existing behavior

image

Closes: #11191

Testing and Formatting Your Code

  1. PRs will only be merged if tests pass on CI. We recommend at least running the backend tests locally, please set up your Gradio environment locally and run the backed tests: bash scripts/run_backend_tests.sh

  2. Please run these bash scripts to automatically format your code: bash scripts/format_backend.sh, and (if you made any changes to non-Python files) bash scripts/format_frontend.sh

@ExcellentAmericanEagle ExcellentAmericanEagle closed this by deleting the head repository May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow checkboxes or toggles for boolean fields in Dataframe

1 participant