Disabling className removes default class form-control
See original GitHub issueHey,
is it possible to disable (or rather hide) the className
attribute but keep the default class form-control
for every field?
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Disabling Material UI default styles - css - Stack Overflow
Create your own wrapper component that overrides the styles. For instance, the following would override the root style on the FormControl:
Read more >Form controls · Bootstrap v5.0
If you want to have <input readonly> elements in your form styled as plain text, use the .form-control-plaintext class to remove the default...
Read more >Form Control - React-Bootstrap
Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized...
Read more >Forms - React-Bootstrap
The <FormControl> component renders a form control with Bootstrap styling. ... use the plaintext prop on FormControls to remove the default form field ......
Read more >Your Comprehensive Guide To Bootstrap Forms - CopyCat Blog
Bootstrap : Responsive Form Layout; Bootstrap: Static Form Control ... When added to regular form elements, these classes remove the need for CSS...
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 FreeTop 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
Top GitHub Comments
I solved this problem as follows:
<style> .form-group.className-wrap, .form-group.name-wrap, .form-group.access-wrap, .form-group.value-wrap { display: none !important; } </style>fixed in 2.10.0