2
I implemented the "date" class of Bootstrap 3. When accessed the page, the field is rendered normally, but at the end of the page load the input text
and the calendar icon simply vanishes.
Inspecting the element, the div
which involves both the input field and the icon, is there, but what is inside it is not.
I tried to adjust the css, but unsuccessfully.
Follows the html:
<div class="col-md-3">
<div class="form-group">
<label for="data-pagamento">Data Pagamento</label>
<div class="input-group date">
<input type="text" id="data-pagamento" name="data_pagamento"
value="{{ date('d/m/Y') }}"
class="form-control"/>
<div class="input-group-addon">
<span class="glyphicon glyphicon-th"></span>
</div>
</div>
</div>
</div>
Marcelo remade the Snippet and now he has input=text and the other things that were missing to work with script. I think now will serve you. Copy the Snippet to your file and test!
– hugocsl