Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disabling className removes default class form-control

See original GitHub issue


is it possible to disable (or rather hide) the className attribute but keep the default class form-control for every field?


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

TranAudicommented, Jul 11, 2017

I solved this problem as follows:

<style> .form-group.className-wrap,, .form-group.access-wrap, .form-group.value-wrap { display: none !important; } </style>
kevinchappellcommented, Nov 3, 2018

fixed in 2.10.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found