Description of problem: I have a list of maps displaying on my configuration page of a custom plugin. The Edit button displays even if my list and all map elements have readonly="true". The Edit button should not display if all elements in a map are read only. Version-Release number of selected component (if applicable): 1.3 (in Embedded Jopr 1.2.0.) How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: The Edit button displays for a map with no editable elements Expected results: The Edit button does not display for a map with no editable elements. Additional info:
See if this is still an issue in coregui.
In coregui, if all the member props are read-only or the config editor is in read-only mode, a View icon is displayed, rather than an Edit icon. We always want to have one or the other, because the popup map editor shows additional information that is not shown on the main config editor view, namely non-summary member props and description and unset status for each member prop.
Verified as follows: Using the #Test Read-only Configuration test view ... http://localhost:7080/coregui/#Test/Configuration/ReadOnlyConfigEditor tested: 1) on a read-only config edit that the list of maps was non-editable...and has a view icon and not an edit icon. 2) on a non-read-only config that the list of maps was editable and had an edit icon 3) on a read-only group config editor ... N/A (list of maps not supported) 4) on a non-read-only group config editor ... N/A (list of maps not supported)
Bulk closing of old issues that are in VERIFIED state.