Topic: Form Label Does not go up on label click
AdamEsterle free asked 8 years ago
sarky pro answered 4 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 4 years ago
Figured it out, wasn't loading manifest.js which was compiled not sure why.
Gambare free 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';
Aliaswire free 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.
Ybara free answered 5 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 :)
gmuckelvene pro answered 8 years ago
AdamEsterle free answered 8 years ago
Michal Szymanski staff answered 8 years ago
<div class="md-form">
<input type="text" id="form1" class="form-control">
<label for="form1" class="">Example label</label>
</div>
gmuckelvene pro answered 8 years ago
sirdante pro answered 8 years ago
AdamEsterle free answered 8 years ago
Michal Szymanski staff answered 8 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No