diff --git a/src/Our.Umbraco.Vorto/Web/UI/App_Plugins/Vorto/js/vorto.js b/src/Our.Umbraco.Vorto/Web/UI/App_Plugins/Vorto/js/vorto.js index afe37e2..add1131 100644 --- a/src/Our.Umbraco.Vorto/Web/UI/App_Plugins/Vorto/js/vorto.js +++ b/src/Our.Umbraco.Vorto/Web/UI/App_Plugins/Vorto/js/vorto.js @@ -42,6 +42,9 @@ config: {}, view: "" }; + + if (!angular.isObject($scope.model.value)) + $scope.model.value = {}; $scope.model.value = $scope.model.value || { values: {},