Currently, I am attempting to utilize the Bootstrap datepicker, but I am facing an issue when trying to implement it within a table, specifically inside a th element. Below is the structure of my table:
<table id="table" class="table table-bordered table-hover" data-toggle="table" data-height="400" data-pagination="true" data-locale="en_US">
Within this table, I have the following code snippet:
<th data-field="date" >
<div class="input-group bfh-datepicker" data-format="y-m-d" data-max="today" id="input-date" placeholder="Date of record">
</div>
</th>
The challenge I am encountering is that I am unable to properly display the datepicker. A screenshot displaying the issue can be viewed at the following link: