Angularjs angularui boostrap数据选择器中出错
我有一个datePicker when required子句true,它的初始值是今天。当我留空时,我得到了以下错误:+1: 错误:我未定义q@this.init/这是我的html代码Angularjs angularui boostrap数据选择器中出错,angularjs,datepicker,Angularjs,Datepicker,我有一个datePicker when required子句true,它的初始值是今天。当我留空时,我得到了以下错误:+1: 错误:我未定义q@this.init/这是我的html代码 德斯德 你在读那个值吗?请添加更多信息,添加html代码,函数Questions seeking debugging help(“为什么此代码不起作用?”)必须包含所需的行为、特定的问题或错误以及在问题本身中重现此问题所需的最短代码。没有明确问题陈述的问题对其他读者没有用处。请参阅:。
德斯德
你在读那个值吗?请添加更多信息,添加html代码,函数Questions seeking debugging help(“为什么此代码不起作用?”)必须包含所需的行为、特定的问题或错误以及在问题本身中重现此问题所需的最短代码。没有明确问题陈述的问题对其他读者没有用处。请参阅:。
<div class="row">
<div class="col-xs-3">
<label class="control-label">Desde</label>
<p class="input-group">
<input type="text"
class="form-control"
uib-datepicker-popup="dd/MM/yyyy"
ng-model="dpDesde"
ng-change='dpDesde_Change()'
is-open="popup1.opened"
ng-required="true"
close-text='Cerrar'
clear-text='Limpiar'
current-text='Hoy'
datepicker-options="dateOptions"
alt-input-formats="altInputFormats" />
<span class="input-group-btn">
<button type="button"
class="btn btn-default"
ng-click="openDatePop(1)">
<i class="glyphicon glyphicon-calendar"></i></button>
</span>
</p>
</div>