2015-01-21 57 views
1

嗨我所有使用角度ui datepicker,我使用4 datepicker,我現在能夠同時打開所有。但我可以能夠打開一次一個multiple datepicker opening but i need one at a timeangular-ui datepicker彈出顯示morethan一次我需要一次

HTML

<div ng-controller="approvalDate" class="datePickerClass"> 
    <p class="input-group"> 
    <input type="text" class="form-control" placeholder="Select date" datepicker-popup="{{format}}" ng-model="dt" is-open="opened" min-date="minDate" max-date="'2015-06-22'" input-disabled="editableInput"/> 
     <span class="input-group-btn"> 
     <button type="button" class="btn btn-default calandar-custom" ng-click="open($event)" input-disabled="editableInput"> <i class="glyphicon glyphicon-calendar"> </i> </button> 
     </span> 
     </span> 
    </p> 
</div> 

回答

0
<input type="text" datepicker-popup ng-model="atime" is-open="atime_opened" ng-click="atime_opened = !atime_opened"/>