Skip to content

Input Group Addon Support #31

@nkamenar

Description

@nkamenar

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions