Topic: prefilled input box spacing is off

Taomgirl pro asked 5 years ago


https://www.dropbox.com/s/2asqpquv0fpotw4/Screenshot%202018-09-20%2023.25.44.png?dl=0
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>
</div>

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.

FREE CONSULTATION

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

Status

Answered

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