From 802d74bab2ebe19a106f75275342dc2e9cc6066a Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 22 Jun 2020 20:47:42 +1000 Subject: [PATCH] Add text selection and conditional input type to dropdown content options --- .../discourse/components/wizard-custom-field.js.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/components/wizard-custom-field.js.es6 b/assets/javascripts/discourse/components/wizard-custom-field.js.es6 index d7d53e00..9251f433 100644 --- a/assets/javascripts/discourse/components/wizard-custom-field.js.es6 +++ b/assets/javascripts/discourse/components/wizard-custom-field.js.es6 @@ -63,7 +63,8 @@ export default Component.extend(UndoChanges, { if (this.isDropdown) { options.wizardFieldSelection = 'key,value'; options.userFieldOptionsSelection = 'output'; - options.inputTypes = 'association,assignment'; + options.textSelection = 'key,value,output'; + options.inputTypes = 'conditional,association,assignment'; options.pairConnector = 'association'; options.keyPlaceholder = 'admin.wizard.key'; options.valuePlaceholder = 'admin.wizard.value';