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

CrossSelector does not respect disabled=True #3325

Closed
Julien76 opened this issue Apr 6, 2022 · 0 comments · Fixed by #3326
Closed

CrossSelector does not respect disabled=True #3325

Julien76 opened this issue Apr 6, 2022 · 0 comments · Fixed by #3326

Comments

@Julien76
Copy link

Julien76 commented Apr 6, 2022

ALL software version info

panel = "0.13.0a46"

Description of expected behavior and the observed behavior

When setting disabled=True, the CrossSelector widget remains editable.

The expected behavior should be readonly.

Complete, minimal, self-contained example code that reproduces the issue

import panel as pn

pn.extension()

cross_selector = pn.widgets.CrossSelector(
    name="Fruits",
    value=["Apple", "Pear"],
    options=["Apple", "Banana", "Pear", "Strawberry"],
    disabled=True,
)


pn.Row(cross_selector).show()


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 a pull request may close this issue.

1 participant