Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Joe Codino 25 posts 125 karma points
    Jan 16, 2016 @ 08:40
    Joe Codino
    0

    DotNetTypeaheadListPicker $scope.selectedOptions.map is not a function

    I have a "movie review" document type, with a "movie" picker maded with DotNetTypeaheadListPicker. It works as expected the first time, when the movie has yet to be selected in a newly created "movie review" item. I can select a movie and save the movie review. But when I open again the movie review to edit it, the movie picker is empty and a javascript error occurs:

    :63341/umbraco/lib/angular/1.1.5/angular.min.js?cdv=338708395:63 TypeError: $scope.selectedOptions.map is not a function
        at Object.$scope.isSortable (:63341/App_Plugins/nuPickers/Shared/ListPicker/ListPickerEditorController.js.nu?cdv=338708395:94)
        at :63341/App_Plugins/nuPickers/Shared/ListPicker/ListPickerEditorController.js.nu?cdv=338708395:117
        at Object.fn (:63341/umbraco/lib/angular/1.1.5/angular.min.js?cdv=338708395:90)
        at Object.e.$digest (:63341/umbraco/lib/angular/1.1.5/angular.min.js?cdv=338708395:90)
        at Object.e.$apply (:63341/umbraco/lib/angular/1.1.5/angular.min.js?cdv=338708395:92)
        at j (:63341/umbraco/lib/angular/1.1.5/angular.min.js?cdv=338708395:101)
        at r (:63341/umbraco/lib/angular/1.1.5/angular.min.js?cdv=338708395:104)
        at XMLHttpRequest.w.onreadystatechange (:63341/umbraco/lib/angular/1.1.5/angular.min.js?cdv=338708395:106)
    

    I think is a bug. Or did I miss something? Joe

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies