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

pn.widgets.RadioButtonGroup has no name and description #7387

Open
ambrustorok opened this issue Oct 10, 2024 · 1 comment
Open

pn.widgets.RadioButtonGroup has no name and description #7387

ambrustorok opened this issue Oct 10, 2024 · 1 comment

Comments

@ambrustorok
Copy link

When you create a widget such as a FloatInput you can define a name and a description. This results in a tooltip and a title for the widget.

pn.widgets.FloatInput( 
    name="Number input",
    step=1e-2,
    start=0.0,
    end=1.0,
    value=0.3,
    description="My description"
)

image

The same behavior does not apply to all widgets, such as for RadioButtonGroup. Notice how there is no name/title, nor description.

pn.widgets.RadioButtonGroup(
    name='My widget', 
    options=[1, 2, 3], 
    button_type='success',
    value=1,
    description="My description"
)

image

@ambrustorok
Copy link
Author

This is partially mentioned in #1313. The missing name is, but now the missing description.

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

No branches or pull requests

1 participant