Stacks
Stacks copied to clipboard
Style readonly attribute (not read-only)
Addresses: https://github.com/StackExchange/Stacks/issues/620
The attribute to target is readonly
. It can also be targeted as a pseudo-class in the form of :read-only
, which is what I'd guess caused the confusion here.
The <select />
element
This targets a readonly
attribute on <select />
elements, though that element does not support it.
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attributes
Deploy Preview for stacks ready!
Name | Link |
---|---|
Latest commit | d7a81bc8b289c6308b6ac343c57fa7d967aaf297 |
Latest deploy log | https://app.netlify.com/sites/stacks/deploys/628bc929c90cdb00086b6e9f |
Deploy Preview | https://deploy-preview-678--stacks.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
I think this actually needs some more thought than just looking like a disabled
input. I'll add this to a list of items needing designs.