-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow setting the title
property of the label surrounding the RadioItem
and Checklist
choices.
#1847
Comments
title
property of the label surrounding the RadioItem and Checklist choices.
title
property of the label surrounding the RadioItem and Checklist choices.title
property of the label surrounding the RadioItem
and Checklist
choices.
Seems like a bug / overlooked. The doc even mentions explicitly that a title can be set on Checklist options in order to show a tooltip. https://dash.plotly.com/dash-core-components/checklist#checklist-properties
EDIT: Unfortunately |
Given that the Dash docs (for both Came looking for an issue along these lines after I discovered this wasn't working. |
@ned2 Can I take this and work on it ? |
@harxish I'm not a Dash maintainer, but given that this issue has been tagged with |
You can also put components into a |
Hi all! As the fix hasn't been included in Dash yet, here's an updated workaround using components as options:
For developers: code to replicate the issue
|
title
property of the label surrounding the RadioItem
and Checklist
choices.title
property of the label surrounding the RadioItem
and Checklist
choices.
Is your feature request related to a problem? Please describe.
Radioitem and checklist options typically have short labels so sometimes it would be helpful to add a descriptive tooltip to them. For a user-defined label, this is possible via
html.Label(title="…")
. For labels created throughRadioItem
orChecklist
, this does not seem possible.Describe the solution you'd like
In addition to
disabled
,label
,value
, allow setting thetitle
on an option.Describe alternatives you've considered
I've seen a workaround using dbc but apart from requiring the bootstrap components, that solution is somewhat complicated and does not match the workflow of the
html.Label
component.The text was updated successfully, but these errors were encountered: