Topic: prefilled input box spacing is off

Taomgirl pro asked 5 years ago
the spacing is off between the lable and prefilled form. How do I add the correct spacing
This is the code
<div className="md-form">
<inputvalue="John Doe"type="text"id="inputPrefilledEx"className="form-control"/>
<labelfor="inputPrefilledEx">Example label</label>

acecoolz free answered 4 years ago

one solution i found out. Just add class "active" to your label.

Piotr Glejzer staff answered 5 years ago

Hi, are you sure that you are using jQuery technology? I see 'className' and I think it is React Technology. Did you see our jquery documentation? Docs inputs Best, Piotr

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: Mac
  • Browser: Chrome
  • OS: ios latest
  • Provided sample code: Yes
  • Provided link: No