From: Coleman Watts Date: Mon, 9 May 2022 15:59:15 +0000 (-0400) Subject: Afform - Fix RC regression of missing input types X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=85cf562092234a95787d58d414c51bab29877874;p=civicrm-core.git Afform - Fix RC regression of missing input types This regressed because the client-side variable was renamed as part of 47332dba8ff22aa6f08d473a0437dc02ca53458d --- 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') {