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
Change BlockLabel
element to use <label>
#5864
Change BlockLabel
element to use <label>
#5864
Conversation
…ponent BlockLabel is being used as the main component for labels and should address the issue reported in Chat and File component closes issue 5454
🪼 branch checks and previews
|
🦄 change detectedThis Pull Request includes changes to the following packages.
With the following changelog entry.
Maintainers or the PR author can modify the PR title to modify this entry.
|
Thanks so much for contributing this @aileenvl! I have a small suggestion above |
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
BlocksLabel
element to use <label>
BlocksLabel
element to use <label>
BlocksLabel
element to use <label>
BlocksLabel
element to use <label>
BlockLabel
element to use <label>
Thanks for making that change! We should change the |
Change CSS styles from div to label selector in BlockLabel
Thanks so much for contributing this change @aileenvl! LGTM :) |
Hey @aileenvl! We wanted to reach out to thank you for your contributions to gradio. We're giving away Hugging Face merch to contributors during Hacktoberfest, and we'd like to send you something! Would you be able to send an email to team@gradio.app so we can get in touch? |
refactor: change to label tag where label property is accepted by component
BlockLabel is being used as the main component for labels and should address the issue reported in Chat and File component
closes issue 5454
Description
all the the components that accept label as an input used tag.
Closes: #5454
Tests
PRs will only be merged if tests pass on CI. To run the tests locally, please set up your Gradio environment locally and run the tests:
bash scripts/run_all_tests.sh
You may need to run the linters:
bash scripts/format_backend.sh
andbash scripts/format_frontend.sh