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

Ace widget cannot be disabled #1808

Closed
MarcSkovMadsen opened this issue Nov 27, 2020 · 1 comment · Fixed by #2449
Closed

Ace widget cannot be disabled #1808

MarcSkovMadsen opened this issue Nov 27, 2020 · 1 comment · Fixed by #2449
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Nov 27, 2020

Panel 0.10.2
Bokeh 2.2.3

Description of expected behavior and the observed behavior

The Controls section of the Ace widget shows the disabled parameter. But if I disable it I can still enter new text.

I.e. disabled does not work.

image

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

from panel import widgets as pnw

py_code = """import sys"""
component = pnw.Ace(
    value=py_code,
    sizing_mode="stretch_width",
    language="python",
    theme="tomorrow_night",
    disabled=True,
    height=300,
)

component.servable()

image

@MarcSkovMadsen MarcSkovMadsen added the TRIAGE Default label for untriaged issues label Nov 27, 2020
@philippjfr philippjfr added type: bug Something isn't correct or isn't working and removed TRIAGE Default label for untriaged issues labels Nov 30, 2020
@philippjfr philippjfr changed the title Ace widget not working as documented Ace widget cannot be disabled Nov 30, 2020
@philippjfr
Copy link
Member

Thanks! Please make the issue title as specific as possible.

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