diff --git a/assets/javascripts/discourse/components/wizard-mapper-selector.js.es6 b/assets/javascripts/discourse/components/wizard-mapper-selector.js.es6 index 8a2ae9ce..a257ed12 100644 --- a/assets/javascripts/discourse/components/wizard-mapper-selector.js.es6 +++ b/assets/javascripts/discourse/components/wizard-mapper-selector.js.es6 @@ -377,7 +377,7 @@ export default Component.extend({ this.changeValue(event.target.value); }, - changeUserValue(previousValue, value) { + changeUserValue(value) { this.changeValue(value); }, }, diff --git a/assets/javascripts/discourse/templates/components/wizard-mapper-selector.hbs b/assets/javascripts/discourse/templates/components/wizard-mapper-selector.hbs index 60f4c0cf..cb94b7ae 100644 --- a/assets/javascripts/discourse/templates/components/wizard-mapper-selector.hbs +++ b/assets/javascripts/discourse/templates/components/wizard-mapper-selector.hbs @@ -66,11 +66,13 @@ {{/if}} {{#if showUser}} - {{user-selector - includeMessageableGroups="true" + {{email-group-user-chooser placeholderKey=placeholderKey - usernames=value + value=value autocomplete="discourse" - onChangeCallback=(action "changeUserValue")}} + onChange=(action "changeUserValue") + options=(hash + includeMessageableGroups="true" + )}} {{/if}} diff --git a/plugin.rb b/plugin.rb index 571ff36d..960a0890 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Create custom wizards -# version: 1.22.0 +# version: 1.22.1 # authors: Angus McLeod # url: https://github.com/paviliondev/discourse-custom-wizard # contact emails: angus@pavilion.tech