diff --git a/src/Umbraco.Web.UI.Client/src/common/resources/datatype.resource.js b/src/Umbraco.Web.UI.Client/src/common/resources/datatype.resource.js index 5c5f67565f..807042d0e7 100644 --- a/src/Umbraco.Web.UI.Client/src/common/resources/datatype.resource.js +++ b/src/Umbraco.Web.UI.Client/src/common/resources/datatype.resource.js @@ -18,7 +18,7 @@ function dataTypeResource($q, $http, umbDataFormatter, umbRequestHelper) { umbRequestHelper.getApiUrl( "dataTypeApiBaseUrl", "GetPreValues", - [{ editorId: editorId }, { dataTypeId: dataTypeId }])), + [{ editorAlias: editorId }, { dataTypeId: dataTypeId }])), 'Failed to retreive pre values for editor id ' + editorId); }, diff --git a/src/Umbraco.Web.UI.Client/src/views/datatype/edit.html b/src/Umbraco.Web.UI.Client/src/views/datatype/edit.html index 4e851e159e..4a10a5efe1 100644 --- a/src/Umbraco.Web.UI.Client/src/views/datatype/edit.html +++ b/src/Umbraco.Web.UI.Client/src/views/datatype/edit.html @@ -34,7 +34,7 @@ + ng-options="e.alias as e.name for e in content.availableEditors"> Required