0
我正在使用kendo與angular.js,所以在我的第一個下拉列表中,我有一個模型,它捕獲選擇,但由於某種原因,當事件觸發時,模型尚未更新...劍道級聯 - 射擊太早?
<input kendo-drop-down-list
id="ddServiceLocations"
k-options="ddServiceLocationsOptions"
ng-model="enterClaimsService.model.serviceLocationSelection" />
<select kendo-drop-down-list
id="ddJurisdictions"
k-options="ddJurisdictionsOptions"
k-cascade-from="'ddServiceLocations'"
ng-model="enterClaimsService.model.jurisdictionSelection"></select>
進行選擇時在第一中所做的,它不火我dataSource
第二個盒子,但enterClaimsService.model.serviceLocationSelection
對象在這一點上是不明確?當該函數退出時,模型將變得沒有問題。如何在數據源被調用之前讓模型更新?