-
-
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
Readonly inputs shouldn't be grayed out #33925
Comments
Related issue #33860. |
@mdo I think this ticket was a feature request "Remove readonly state styles completely from Bootstrap". So, it deserves a comment. Could you re-consider this? It would not happen before v6 anyway, I guess, but was that ever considered? Edit: Sorry, I wrote this comment thinking the ticket has been closed. That's why I used past tense. |
@mdo can you re-open this ticket for v6? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bootstrap styles readonly inputs like disabled inputs (since v1.3.0 FYI):
However browsers don't do that:
Chrome 90
readonly:
vs disabled:
IE 11
readonly:
vs disabled:
Firefox 88
readonly:
vs disabled:
Safari 13.2.1
readonly:
vs disabled:
Edge 90
readonly:
vs disabled:
GNOME Web 3.36.4
readonly:
vs disabled:
Frameworks that don't style readonly:
(when there is no demo for readonly/readOnly/isReadOnly, I've manually modified another demo to check behavior)
Brands:
Frameworks that style readonly:
Considering all this, I suggest that Bootstrap readonly input should not be styled as disabled input.
The text was updated successfully, but these errors were encountered: