Closed vlymar closed 7 years ago
I just implemented this and was writing up a PR, but you know, there's actually an easier solution:
Since a disabled dropdown is never going to be expanded, and because rich-text dropdowns and regular <select>
s look identical when collapsed, we could just use a regular disabled <select>
.
@vlymar, how does that sound?
genius
only issue is the dropdown border is quite faint against the grey background, assuming thats an unrelated non-issue though
im happy to close this issue if you agree
Yeah, that's unrelated and can be dealt with in Screendoor. :+1:
I tried passing
disabled: true
to the input field, and it gets added as an attribute and class to the html, but the actual element does not go into disabled state.Manually adding
.disabled
to the styled_select_wrapper doesn't do it eitherThis will be necessary for https://github.com/dobtco/screendoor-v2/pull/4311