当我升级到UI Bootstrap版本0.11.0
时,我在UI Datepicker中收到以下错误:
TypeError: Unable to get property 'split' of undefined or null reference
at createParser (http://localhost:1234/js/lib/ui-bootstrap-tpls-0.11.0.js:751:19)
数据中的日期采用以下格式2014-06-27T00:00:00
:
<div class="ticketStartDate" ng-click="openAddStartCal($event, ticket)" ng-hide="currentTicketUpdating == ticket.TicketId && currentParameterUpdating =='startCal' && startCalSaving == true">
<input type="text"
datepicker-popup="dd MMM"
ng-model="ticket.StartDate"
ng-change="saveEditStartDate(ticket)"
is-open="startEditTicketOpened && currentTicketUpdating == ticket.TicketId"
datepicker-options="dateOptions"
date-disabled="disabled(date, mode)"
ng-required="true"
close-text="Close" />
</div>