Merge pull request #199 from OsamaSayegh/dev/replace-deprecated-component
DEV: Replace `{{user-selector}}` with `{{email-group-user-chooser}}`
Dieser Commit ist enthalten in:
Commit
3fec341e97
3 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen
|
@ -377,7 +377,7 @@ export default Component.extend({
|
|||
this.changeValue(event.target.value);
|
||||
},
|
||||
|
||||
changeUserValue(previousValue, value) {
|
||||
changeUserValue(value) {
|
||||
this.changeValue(value);
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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}}
|
||||
</div>
|
||||
|
|
|
@ -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
|
||||
|
|
Laden …
In neuem Issue referenzieren