Disabled Input and styles
See original GitHub issueIs your feature request related to a problem? Please Describe. There’s no way to disable the Input component or customize the appearance when it is disabled.
Describe the solution you’d like
A disabled prop which is a boolean, along with various props for managing styles when disabled.
Describe alternatives you’ve considered The only alternative right now is doing it yourself managing your own styles.
E.g.
<Input inputStyle={disabled ? styles.disabled : styles.normal}/>
Additional context Similar issue #1715
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top Results From Across the Web
disabled - CSS: Cascading Style Sheets - MDN Web Docs
The :disabled CSS pseudo-class represents any disabled element. An element is disabled if it can't be activated (selected, clicked on, ...
Read more >CSS :disabled Selector - W3Schools
The :disabled selector matches every disabled element (mostly used on form elements).
Read more >Styling a disabled input with css only - html - Stack Overflow
I have sort of a strange situation. I'm trying to style a disabled input button because I have an annoying hover turning the...
Read more >Pure CSS Disabled Inputs - GeeksforGeeks
In this article, we will see how to disable the input field in Pure CSS. In some cases, when we ask someone to...
Read more >Style every disabled element with CSS - Tutorialspoint
Style every disabled element with CSS - To style every disabled element, use the CSS :disabled selector. You can try to run the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Merged 💯Will be live in 1.2.0
@jdmg94 Buttons already have it! Should only be checkboxes left.