Describe the feature request
I'm working on a project where we're combining StyleX and Radix-UI and their Select component has a disabled state for options. It puts this value as a aria-disabled and a data-disabled attributes and then style with css off of this:
.SelectItem[data-disabled] {
color: var(--mauve-8);
pointer-events: none;
}
I think because it's not an actual <option> that they're rendering, it wouldn't be valid for them to use the actual disabled attribute that is put on form fields and such.
I've been looking through docs and code for StyleX and I can't find any way to do this
Describe the feature request
I'm working on a project where we're combining StyleX and Radix-UI and their Select component has a
disabledstate for options. It puts this value as aaria-disabledand adata-disabledattributes and then style with css off of this:I think because it's not an actual
<option>that they're rendering, it wouldn't be valid for them to use the actualdisabledattribute that is put on form fields and such.I've been looking through docs and code for StyleX and I can't find any way to do this