From 85cf562092234a95787d58d414c51bab29877874 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 9 May 2022 11:59:15 -0400 Subject: [PATCH] Afform - Fix RC regression of missing input types This regressed because the client-side variable was renamed as part of 47332dba8ff22aa6f08d473a0437dc02ca53458d --- .../admin/ang/afGuiEditor/elements/afGuiField.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js b/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js index f740d3d3f6..0102c32e9b 100644 --- a/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js +++ b/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js @@ -31,7 +31,7 @@ this.$onInit = function() { ctrl.hasDefaultValue = !!getSet('afform_default'); ctrl.fieldDefn = angular.extend({}, ctrl.getDefn(), ctrl.node.defn); - ctrl.inputTypes = _.transform(_.cloneDeep(afGui.meta.inputType), function(inputTypes, type) { + ctrl.inputTypes = _.transform(_.cloneDeep(afGui.meta.inputTypes), function(inputTypes, type) { if (inputTypeCanBe(type.name)) { // Change labels for EntityRef fields if (ctrl.getDefn().input_type === 'EntityRef') { -- 2.25.1