silverstripe-admin
silverstripe-admin copied to clipboard
TreeDropdownField, CheckboxField and some other fields have a misleading appearance in read only mode.
Description
TreeDropdownField, CheckboxField and some other fields have a misleading appearance in read only mode. This problem occurs mainly when using these fields in modal windows, when the form has the read-only status and the fields do not yet have any value. In this case, these fields has misleading appearance. See images.
We should apply the same styles for these fields as for the normal state of these fields having or not having any value.
ACs
- [ ] Determine the list of fields that require bringing the “readonly” styles into compliance.
- [ ] Style solutions are pre-agreed with the design team and attached to this task.
- [ ] The "readonly" style class has been updated according to the attached design.
- [ ] Style changes have undergone design reviews