Skip to content

[BUG] Tabs widget disabled property has no effect #10898

Closed

Description

@roiweinreb

ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)

Bokeh version: 2.2.3
Python version: 3.7.5
OS: WSL

Description of expected behavior and the observed behavior

It's expected from the Tabs widget to become disabled by setting its disabled property to True.
The observed behavior is that the widget stays enabled.

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

from bokeh.io.doc import curdoc
from bokeh.models.layouts import Panel, Tabs
from bokeh.models.widgets.markups import Div

tabs = Tabs(
    tabs=[
        Panel(child=Div(text="hello"), title="1"),
        Panel(child=Div(text="there"), title="2"),
    ],
    disabled=True
)

curdoc().add_root(tabs)

Activity

  1. changed the title [-][BUG][/-] [+][BUG] Tabs widget disabled property has no effect[/+] on Feb 11, 2021
  2. added this to the 2.4 milestone on Feb 17, 2021
  3. github-actions commented on Oct 26, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Oct 26, 2024
  5. added theissue type on Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions