Copied to clipboard

Flag this post as spam?

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


  • Peter Jensen 30 posts 134 karma points
    Nov 17, 2015 @ 14:43
    Peter Jensen
    0

    Does nuPickers work with version 7.3.1 ?

    I just installed the package, and no matter how hard i reset the appPool or clear ClientDependency i still get a hell of js errors in the console :(

    I get this error LOTS of times.

    TypeError: $scope.selectedOptions.map is not a function
        at Object.$scope.isUsed (ListPickerEditorController.js.nu?cdv=1968531344:25)
        at Object.$scope.isSelectable (ListPickerEditorController.js.nu?cdv=1968531344:20)
        at Object.$scope.isValidSelection (ListPickerEditorController.js.nu?cdv=1968531344:30)
        at angular.min.js?cdv=1968531344:74
        at Da.! (angular.min.js?cdv=1968531344:140)
        at Object.t.constant [as value] (angular.min.js?cdv=1968531344:69)
        at Object.D.t.literal [as get] (angular.min.js?cdv=1968531344:73)
        at Object.e.$digest (angular.min.js?cdv=1968531344:90)
        at Object.e.$apply (angular.min.js?cdv=1968531344:92)
        at j (angular.min.js?cdv=1968531344:101)
    

    What happende to my solution ?

  • Peter Jensen 30 posts 134 karma points
    Nov 17, 2015 @ 14:58
    Peter Jensen
    0

    hmm can it be true that if i set

     <compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.5">
    

    debug to "true"

     <compilation defaultLanguage="c#" debug="true" batch="false" targetFramework="4.5">
    

    it all just works ? and what is the workaround for this ? cause debug=true is not and option.

  • Hendy Racher 859 posts 3821 karma points MVP admin c-trib
    Dec 04, 2015 @ 20:32
    Hendy Racher
    0

    Hi Peter,

    Yes, nuPickers should work with Umbraco 7.2.3 or later, and regardless of the value of debug.

    There was a version of nuPickers that bundled a version of Client Dependency - I wonder if that had anything to do with it ?

    Thanks, Hendy

  • dillorscroft 193 posts 187 karma points
    Jan 06, 2016 @ 17:36
    dillorscroft
    1

    Mike,

    I think it's because when you first create a TypeAheadListPicker it incorrectly allows you to use CSV as the Save format. If you use JSON or XML it will work fine.

    Unfortunately if you have content in already that has been saved as CSV you will lose that and also the pickers wont work until that content is removed. I removed it by making the datatype a textbox first, deleted the data and then added it back as JSON save format.

    DC

Please Sign in or register to post replies

Write your reply to:

Draft