-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<select>
with form-control
have background color as :read-only
#33860
Comments
Yeah we shouldn't have used The specification defines it like this (albeit a little counter-intuitive) :
|
Looks like selects are So, maybe we should just acknowledge that using Of course, you can just revert the change as well. |
|
Maybe I wasn't clear with what I said earlier. My proposal is not, not to use According to the spec Another issue with |
Oh, I missed the file input issue. This actually might be the biggest reason to not use |
Agreed, I mentionned the difference between the two selectors in the PR but didn't think it'd match selects and file inputs. I'd be in favor of reverting this PR — otherwise we need to be more restrictive with the pseudo-class to avoid clashes with select and file input, and I don't think it worth it. |
Let's revert @ffoodd :) |
Notes from the field to consider - (in Firefox), this also causes problems with custom (read third-party) composite controls as they also use the |
OS: Windows 10 Pro
Browser: Chrome 90
Bootstrap version: 5.0.0
How to reproduce
After update from the beta to the stable version of bootstrap I'm experiencing this issue where the select and the options have a gray background instead of white.
It's marking the select as readonly
The text was updated successfully, but these errors were encountered: