I implemented the "date" class of Bootstrap 3. When the page is accessed, the field is rendered normally, but at the end of the page load the input text
and the calendar icon simply disappear.
Inspecting the element, the div
that surrounds both, the input field and the icon, is there, but what's inside it does not.
I tried adjusting the css, but without success.
Follow 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>