0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

Add text selection and conditional input type to dropdown content options

Dieser Commit ist enthalten in:
Angus McLeod 2020-06-22 20:47:42 +10:00
Ursprung 841923b79c
Commit 802d74bab2

Datei anzeigen

@ -63,7 +63,8 @@ export default Component.extend(UndoChanges, {
if (this.isDropdown) { if (this.isDropdown) {
options.wizardFieldSelection = 'key,value'; options.wizardFieldSelection = 'key,value';
options.userFieldOptionsSelection = 'output'; options.userFieldOptionsSelection = 'output';
options.inputTypes = 'association,assignment'; options.textSelection = 'key,value,output';
options.inputTypes = 'conditional,association,assignment';
options.pairConnector = 'association'; options.pairConnector = 'association';
options.keyPlaceholder = 'admin.wizard.key'; options.keyPlaceholder = 'admin.wizard.key';
options.valuePlaceholder = 'admin.wizard.value'; options.valuePlaceholder = 'admin.wizard.value';