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

Cannot change description/ tooltip of ButtonIcon dynamically #6620

Closed
MarcSkovMadsen opened this issue Mar 30, 2024 · 0 comments · Fixed by #6676
Closed

Cannot change description/ tooltip of ButtonIcon dynamically #6620

MarcSkovMadsen opened this issue Mar 30, 2024 · 0 comments · Fixed by #6676
Assignees
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

panel==1.4.1a1

If I change the description using the UI below I would expect the tooltip to update. But it does not.

button-icon.mp4
import panel as pn

pn.extension()

button_icon = pn.widgets.ButtonIcon(
    active_icon="check",
    description="Hey",
    icon="clipboard",
    size="5em",
    toggle_duration=1000,
)

pn.Column(
    "# ButtonIcon",
    "Available from Panel 1.4.0",
    button_icon,
    button_icon.param.active_icon,
    button_icon.param.clicks,
    button_icon.param.description,
    button_icon.param.disabled,
    button_icon.param.icon,
    button_icon.param.size,
    button_icon.param.toggle_duration,
    button_icon.param.value,
).servable()
@MarcSkovMadsen MarcSkovMadsen added the type: bug Something isn't correct or isn't working label Mar 30, 2024
@MarcSkovMadsen MarcSkovMadsen added this to the v1.4.1 milestone Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants