I am looking on a customized version of the multin...
# package-development
s
I am looking on a customized version of the multinode treepicker but I can't figure out why you would set
multiPicker
to 0 if the maxnumber is set to 1 or lower. Isn't this baked in with the standard multinode treepicker that ships with Umbraco?
Copy code
if ($scope.model.config.maxNumber && $scope.model.config.maxNumber <= 1) {
        $scope.model.config.multiPicker = "0";
    }
    $scope.model.config.displaySelected = ($scope.model.config.displaySelected === "1" ? true : false);