diff --git a/src/app/app-shared/components/mix-column-editor/script.js b/src/app/app-shared/components/mix-column-editor/script.js index 3133016f..a0072722 100644 --- a/src/app/app-shared/components/mix-column-editor/script.js +++ b/src/app/app-shared/components/mix-column-editor/script.js @@ -49,6 +49,9 @@ ctrl.previousId = null; ctrl.options = []; ctrl.$onInit = async function () { + ctrl.editor = ctrl.column.columnConfigurations.editor + ? ctrl.column.columnConfigurations.editor.toLowerCase() + : ctrl.column.dataType.toLowerCase(); if (!ctrl.createUrl && ctrl.model && ctrl.column.referenceId) { ctrl.buildCreateUrl(); } diff --git a/src/app/app-shared/components/mix-column-editor/view.html b/src/app/app-shared/components/mix-column-editor/view.html index 7b5b4f0d..d68f0c8d 100644 --- a/src/app/app-shared/components/mix-column-editor/view.html +++ b/src/app/app-shared/components/mix-column-editor/view.html @@ -8,12 +8,11 @@