2016-01-28 18 views
0

我收到這個錯誤,當我試圖實現選擇下拉列表已經在這裏運行。 http://flatfull.com/themes/flatkit/html/form.select.html不安全的錯誤即將在angularjs

錯誤圖像低於 enter image description here

我的HTML部分是

<div class="col-sm-6 dr_search" tabindex="-1" id="dr_search"> 
      <ui-select ng-model="user_prefix.selected" theme="bootstrap"> 
      <ui-select-match placeholder="Title">{[{$select.selected.data_key_value}]}</ui-select-match> 
      <ui-select-choices repeat="item in people | filter: $select.search" ng-model="user_prefix"> 
       <div ng-bind-html="item.data_key_value | highlight: $select.search"></div> 

      </ui-select-choices> 
      </ui-select> 

     </div> 

的Ajax調用加載時的響應低於

{"name_prefix":[{"data_key_value":"Mr."},{"data_key_value":"Mrs."}]} 

同時加載沒有錯誤,但是當我點擊搜索或嘗試選擇此錯誤即將到來。

我分配響應從阿賈克斯獲得

$scope.people = data.name_prefix; 

回答