Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ability to set disabled for NestedSelect widget #7532

Closed
1 task done
mayonnaisecolouredbenz7 opened this issue Dec 4, 2024 · 0 comments
Closed
1 task done

Ability to set disabled for NestedSelect widget #7532

mayonnaisecolouredbenz7 opened this issue Dec 4, 2024 · 0 comments

Comments

@mayonnaisecolouredbenz7
Copy link
Contributor

ALL software version info

Software Version Info
panel==1.5.4

Description of expected behavior and the observed behavior

Disabled argument to work with NestedSelect

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

select = pn.widgets.NestedSelect(
    options={
        "GFS": {
            "0.25 deg": ["00Z", "06Z", "12Z", "18Z"],
            "0.5 deg": ["00Z", "12Z"],
            "1 deg": ["00Z", "12Z"],
        },
        "NAME": {
            "12 km": ["00Z", "12Z"],
            "3 km": ["00Z", "12Z"],
        },
    },
    levels=[{'name':"Model","type": pn.widgets.RadioBoxGroup}, "Resolution", "Initialization"],
    disabled = True,
)
  • I have made a PR for this
mayonnaisecolouredbenz7 added a commit to mayonnaisecolouredbenz7/panel that referenced this issue Dec 4, 2024
philippjfr added a commit that referenced this issue Dec 17, 2024
* Fix issue #7532: Disabled for NestedSelect

* Update panel/widgets/select.py

---------

Co-authored-by: Philipp Rudiger <prudiger@anaconda.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants