Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #33925
Closed
Open
Issue created May 10, 2021 by Administrator@rootContributor

Readonly inputs shouldn't be grayed out

Created by: tkrotoff

Bootstrap styles readonly inputs like disabled inputs (since v1.3.0 FYI):

image

However browsers don't do that:

Chrome 90

readonly:

image

vs disabled:

image

IE 11

readonly:

image

vs disabled:

image

Firefox 88

readonly:

image

vs disabled:

image

Safari 13.2.1

readonly:

image

vs disabled:

image

Edge 90

readonly:

image

vs disabled:

image

GNOME Web 3.36.4

readonly:

image

vs disabled:

image

Frameworks that don't style readonly:

(when there is no demo for readonly/readOnly/isReadOnly, I've manually modified another demo to check behavior)

  • Material UI
  • Bulma
  • Ant Design
  • Chakra UI
  • Blueprint
  • Evergreen
  • PrimeReact
  • Grommet
  • Element Plus
  • Quasar Framework
  • Vuetify
  • Materialize
  • Skeleton
  • Semantic UI

Brands:

  • GitHub Primer
  • Microsoft Fluent UI
  • Altassian Design System AtlasKit
  • MongoDB LeafyGreen UI Kit
  • Adobe React Spectrum
  • Shopify Polaris
  • IBM Carbon Design System

Frameworks that style readonly:

  • Pure.css
  • Foundation (buggy like Bootstrap < 1.3.0)




Considering all this, I suggest that Bootstrap readonly input should not be styled as disabled input.

Assignee
Assign to
Time tracking