diff --git a/sao/src/theme/coog/sao.less b/sao/src/theme/coog/sao.less index 8aa06c80bc2..3d7b1fe36a9 100644 --- a/sao/src/theme/coog/sao.less +++ b/sao/src/theme/coog/sao.less @@ -542,6 +542,12 @@ div.form-text { } } +// Make selections without any options look readonly +select:empty, select:has(> option[value="null"]):not(:has(> option:not([value="null"]))) { + .coog-readonly-field-mixin(); + pointer-events: none; +} + // flatter checkboxes div.form-boolean > input[type=checkbox].input-checkbox { box-shadow: none;