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)
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.
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.
What happende to my solution ?
hmm can it be true that if i set
debug to "true"
it all just works ? and what is the workaround for this ? cause debug=true is not and option.
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
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
is working on a reply...