Topic: Input Box With Value Issue
joefletcher pro asked 5 years ago
I'm Having the above issue. When using the following Code within a model.
<div class="md-form">
<input type="text" id="form5" class="form-control" name="manufacturer" value="<?php echo $MSG['manufacturer']?>">
<label for="form5">Manufacturer</label>
</div>
<div class="md-form">
<input type="text" id="form6" class="form-control" name="itemName" value="<?php echo $MSG['name']?>">
<label for="form6">Name</label>
</div>
<div class="md-form">
<input type="text" id="form7" class="form-control" name="img" value="<?php echo $MSG['img']?>">
<label for="form7">Image</label>
</div>
<div class="md-form">
<input type="number" id="form8" class="form-control" name="price" value="<?php echo $MSG['price']?>">
<label for="form8">Price</label>
</div>
<div class="md-form">
<input type="text" id="form9" class="form-control" name="supplier" value="<?php echo $MSG['supplier']?>">
<label for="form9">Supplier</label>
</div>
<div class="md-form">
<input type="text" id="form10" class="form-control" name="manual" value="<?php echo $MSG['manual']?>">
<label for="form10">Manual</label>
</div>
<!--Material textarea-->
<div class="md-form">
<input type="text" id="form11" class="form-control" name="description" value="<?php echo $MSG['description']?>">
<label for="form11">Description</label>
</div>
Marta Wierzbicka staff answered 5 years ago
Hi,
this is how your code looks in the newest MDB 4.5.15 version: https://mdbootstrap.com/snippets/jquery/marta-szymanska/180261. So as you can see, there is no problem. Please, describe your problem in more details or provide any demo showing the problem. And make sure that there is no custom code which may break the inputs.
Best,
Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: Computer
- Browser: Chrome
- OS: Windows 10
- Provided sample code: Yes
- Provided link: No