question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TextBoxEntry is still editable after disable it with [propertiesPanel.isPropertyEditable] event

See original GitHub issue

Describe the Bug

I disable many fields with propertiesPanel.isPropertyEditable event and, after that, the process name field (witch is an TextBoxEntry) is still editable.

camunda-name-textbox

The corresponding div element seems ok and contains readonly and disabled attributes, like others TextFieldEntry for example.

camunda-name-div

I think there is a conflict with contenteditable attribute because after remove it, all is fine.

Important : field modifications are not saved in the model, so the field is really readonly field. The problem is just about HTML rendering.

Steps to Reproduce

  1. Add event listener on propertiesPanel.isPropertyEditable
  2. Return false for process name field
  3. Process Name field is still editable

Reproducible inside this CodeSandbox.

Expected Behavior

The process name field should not be editable.

Environment

  • Host Firefox 89.0
  • OS: Windows 10
  • Library version: 0.43.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pinussilvestruscommented, Jun 8, 2021

Thanks for sharing! I was able to reproduce it when disabling the processName field. Really seems like the disabled state is not properly working with this attribute.

0reactions
barmaccommented, Apr 13, 2022

I am closing this as wontfix because we released a complete rewrite of the properties panel as v1.0.0. Please feel free to reopen this issue if the problem persists in the 1.x series.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TextBoxEntry is still editable after disable it with [propertiesPanel ...
I disable many fields with propertiesPanel.isPropertyEditable event and, after that, the process name field (witch is an TextBoxEntry ) is still editable.
Read more >
Angular 6 how to make all input's Not editable element inside ...
Since disabled attribute doesn't work on some components, what I did is - I set the pointer-events ...
Read more >
Intermittent issue with HTTP2_PROTOCOL_ERROR (YARP and Asp ...
Themes without translation functions fails the text domain check, 2, 2022-01-04 ; TextBoxEntry is still editable after disable it with [propertiesPanel.
Read more >
[UI idea] Improve UI for variable view with lists and/or long strings ...
TextBoxEntry is still editable after disable it with [propertiesPanel.isPropertyEditable ] event, 6, 2021-06-01, 2022-09-15. Pacbio Iso-seq pipeline tools ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found