Topic: Form Label Does not go up on label click
AdamEsterle asked 9 years ago
Michal Szymanski staff pro premium priority answered 9 years ago
AdamEsterle answered 9 years ago
sirdante pro answered 9 years ago
gmuckelvene pro answered 9 years ago
Michal Szymanski staff pro premium priority answered 9 years ago
<div class="md-form">
<input type="text" id="form1" class="form-control">
<label for="form1" class="">Example label</label>
</div>
AdamEsterle answered 9 years ago
gmuckelvene pro answered 9 years ago
gmuckelvene pro answered 9 years ago
Ybara answered 6 years ago
I had the same problem, I found the solution, I put the latest version of scripts and it worked. I use the contact form v2. I hope it will help :)
Aliaswire answered 5 years ago
Not working with Id for combination too. We have to active it by editing it
Grzegorz Bujański staff commented 5 years ago
Create a snippet with your code here : https://mdbootstrap.com/snippets/ I'll look at this.
Gambare answered 5 years ago
This code is not working for me
<div class="md-form">
<input type="text" id="form1" class="form-control">
<label for="form1" class="">Example label</label>
</div>
I'm using mdb-pro-4.11.0 with SF4 and Webpack encore
Here is my app.js
import '../css/app.scss';
import 'jquery';
import 'bootstrap';
import 'chart.js';
import '../MDB-Pro_4.11.0/js/mdb.min'
and app.scss
@import '~font-awesome';
@import '~bootstrap';
@import '../MDB-Pro_4.11.0/scss/mdb-pro';
@import '../MDB-Pro_4.11.0/css/addons/flag.min.css';
sarky pro answered 5 years ago
I am having the same problem
I am using Laravel with the latest npm package compiled correctly and does not seem to work.
tried mdb-pro.css and mdb-lite-pro.css No joy.
<div class="md-form">
<input type="text" {{$product->product_description}} id="product_description" name="product_description" class="form-control">
<label for="product_description">Product Description</label>
</div>
Sample of what i am talking about.
sarky pro commented 5 years ago
Figured it out, wasn't loading manifest.js which was compiled not sure why.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No