TextBoxEntry is still editable after disable it with [propertiesPanel.isPropertyEditable] event
See original GitHub issueDescribe the Bug
I disable many fields with propertiesPanel.isPropertyEditable
event and, after that, the process name field (witch is an TextBoxEntry
) is still editable.
The corresponding div element seems ok and contains readonly
and disabled
attributes, like others TextFieldEntry
for example.
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
- Add event listener on
propertiesPanel.isPropertyEditable
- Return
false
for process name field - 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:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for sharing! I was able to reproduce it when disabling the
processName
field. Really seems like thedisabled
state is not properly working with this attribute.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.