bug #9631
openNew implementation for disable details/supplemental data views
0%
Description
from #8471:
The UUID and ID fields can not be copied anymore. In general it might be a good idea not to fully disable fields but make them write-protected instead, similar to what we do usually in fields like UUID and ID. This allows copying information even if it is write protected which is often helpful.
Another issue is that sections can be opened now. E.g. if there is an annotation I can't see it's content as I can't open the section. This is also better if fields are only write protected.
Generally we may think about another implementation. I think about a solution which passes an "enabled" or "editingStatus" parameter with setInput() to ALL editors. (Alternatively we could also add it to createControl(?) but this in future should only run once per application and form so in future setInput() is the better place I guess).
This way we have a very generic way to disable writing as when ever we set the input to any control we also set the value if it should be write protected or not. This differs from the current code which needs a lot of case distictions etc.
Related issues
Updated by Katja Luther almost 3 years ago
- Related to feature request #8471: Computed descriptions should be disabled in TaxEditor added
Updated by Andreas Müller almost 3 years ago
- Target version changed from Unassigned CDM tickets to Release 5.45