Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 20:02:54 +01:00
DEV: Replace {{user-selector}}
with {{email-group-user-chooser}}
Dieser Commit ist enthalten in:
Ursprung
72a1f9f2c2
Commit
5d55c154c1
2 geänderte Dateien mit 7 neuen und 5 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>
|
||||
|
|
Laden …
In neuem Issue referenzieren