angular-bootstrap-datetimepicker-directive icon indicating copy to clipboard operation
angular-bootstrap-datetimepicker-directive copied to clipboard

Input Group Addon Support

Open nkamenar opened this issue 9 years ago • 1 comments

Is there a way to make this work with an input group addon icon? I have a datepicker input like shown below and if I click the input box it opens as expected but if I click the calendar addon button on the right nothing happens but I would expect it to open the date picker.

3

Here is my code:

<div class="input-group date" id="DueDatePicker">
    <input type="text" class="form-control"
        datetimepicker
        datetimepicker-options="{
            format: 'M/D/YY h:mm A',
            showClear: true,
            showTodayButton: true
        }"
    ng-model="currentItem.DueDate" />
    <span class="input-group-addon">
        <span class="glyphicon glyphicon-calendar"></span>
    </span>
</div>

nkamenar avatar Jun 10 '16 13:06 nkamenar

try using my continuation https://github.com/atais/angular-eonasdan-datetimepicker

atais avatar Nov 10 '16 13:11 atais