Description of problem:
'View objectclass' dialog is a re-purposed edit dialog, but only with a different title and Save button disabled. Unfortunately, it creates confusion, as all the other elements are enabled and allow to edit name, attributes, etc. It should be clear to the user that a View dialog is read-only.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Schema -> Objectclasses -> View Objectclass
2. Try adding/removing required/allowed attributes, selecting parent objectClass or objectClass kind, etc.
UI elements are enabled and allow changes.
UI elements should be disabled as it is a read-only dialog.
Build tested: 389-ds-base-22.214.171.124-1.module+el8dsrv+4200+233a821d
Checkboxes also should be read only:
Input fields should have 'disabled' attribute, not 'readonly'. There is a difference between 'readonly' and 'disabled': user can't differentiate *visually* between readonly and non-readonly input fields, they looks the same, but behave differently. Disabled field, on the other hand, has a different look and its intent is clear.
I'm attaching screenshots of readonly, disabled and writeable dialogs. Note how readonly and writable input fields look exactly the same.
Marking as ASSIGNED.
Created attachment 1620140 [details]
Dialog with writable input fields
Created attachment 1620141 [details]
Dialog with readonly fields
Created attachment 1620142 [details]
Dialog with disabled input fields
View objectClass and View attribute modals have all attributes 'readonly', not 'disabled'.
Moving to ASSIGNED.