Open
Description
I need to add custom text styling to readonly fields. For TextFields this works flawlessly with a selector like
.ui.input input[readonly]{
color: darkgrey;
}
because the readonly attribute is forwarded directly to the <input>
element. However, for SelectFields the inner HTML element is <select>
. You probably did not forward it here because, according to the specification <select>
elements do not accept the readonly attribute.
To respect the specification but still have an anchor for readonly select fields and support css selecting, it would be great if you could add a conditional readonly
class to the outer div, similar to the disabled
class, here:
PS: I only could speak for the semantic-ui package here, maybe this affects other packages too.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
On Hold