From f8104eb01bcf8ce36f7c7f3fa7ebc285487564ae Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Tue, 14 Apr 2020 22:10:42 +1000 Subject: [PATCH] Limit dropdown types --- .../discourse/components/wizard-custom-field.js.es6 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/components/wizard-custom-field.js.es6 b/assets/javascripts/discourse/components/wizard-custom-field.js.es6 index 70ff06ab..e5456806 100644 --- a/assets/javascripts/discourse/components/wizard-custom-field.js.es6 +++ b/assets/javascripts/discourse/components/wizard-custom-field.js.es6 @@ -64,8 +64,7 @@ export default Component.extend({ if (this.isDropdown) { options.wizardFieldSelection = 'key,value'; - options.listSelection += ',assignment'; - options.inputTypes = 'association,assignment'; + options.inputTypes = 'association'; options.pairConnector = 'association'; options.keyPlaceholder = 'admin.wizard.key'; options.valuePlaceholder = 'admin.wizard.value';