Skip to content

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

Closed
@roiweinreb

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions