silverstripe / silverstripe-admin

Silverstripe Admin Component
BSD 3-Clause "New" or "Revised" License
25 stars 91 forks source link

TreeDropdownField, CheckboxField and some other fields have a misleading appearance in read only mode. #1701

Open sabina-talipova opened 3 months ago

sabina-talipova commented 3 months ago

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.

Screenshot 2024-03-06 at 9 38 40 AM Screenshot 2024-03-06 at 11 06 50 AM

We should apply the same styles for these fields as for the normal state of these fields having or not having any value.

ACs