angular-bootstrap-datetimepicker 不会在选择日期时自动关闭

angular-bootstrap-datetimepicker not auto close on Date selection

我正在使用 https://github.com/dalelotts/angular-bootstrap-datetimepicker 日期选择器。它不会自动关闭日期选择器控件..

<div class="dropdown-toggle my-toggle-select" id="dLabel1" role="button" data-toggle="dropdown" >
<div class="input-append">
    <i class="fa fa-calendar input-icon input-icon-highlight"></i>
    <label id="lblCheckOut" ng-repeat="(key, value) in vm.homelabel | objectByKeyValFilter:'LblId':'lblCheckOut'">{{value.TextMessage}}</label>
    <input type="text" id="txtCheckOutDate" class="form-control" data-ng-model="CheckOutDate.date | date:'MMM d, EEE' " />
</div>
</div>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel1">
<datetimepicker data-ng-model="CheckOutDate.date" ng-click="$event.stopPropagation()" data-before-render="vm.beforeRender_CheckOutDate($view, $dates, $leftDate, $upDate, $rightDate,1);" data-datetimepicker-config="{ dropdownSelector: '.my-toggle-select' ,startView:'day', minView:'day'}"></datetimepicker>
</ul>

我找不到任何 属性 来自动关闭 angular bootstrap 日期选择器...

我已经通过将 bootstrap class 包装到给定的 HTML..

来修复
<div class="dropdown">
<div class="dropdown-toggle my-toggle-select" id="dLabel1" role="button" data-toggle="dropdown" >
<div class="input-append">
    <i class="fa fa-calendar input-icon input-icon-highlight"></i>
    <label id="lblCheckOut" ng-repeat="(key, value) in vm.homelabel | objectByKeyValFilter:'LblId':'lblCheckOut'">{{value.TextMessage}}</label>
    <input type="text" id="txtCheckOutDate" class="form-control" data-ng-model="CheckOutDate.date | date:'MMM d, EEE' " />
</div>
</div>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel1">
<datetimepicker data-ng-model="CheckOutDate.date" ng-click="$event.stopPropagation()" data-before-render="vm.beforeRender_CheckOutDate($view, $dates, $leftDate, $upDate, $rightDate,1);" data-datetimepicker-config="{ dropdownSelector: '.my-toggle-select' ,startView:'day', minView:'day'}"></datetimepicker>
</ul>
</div>

它工作正常..

感谢@Dale 的评论和更新。