Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +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);
|
this.changeValue(event.target.value);
|
||||||
},
|
},
|
||||||
|
|
||||||
changeUserValue(previousValue, value) {
|
changeUserValue(value) {
|
||||||
this.changeValue(value);
|
this.changeValue(value);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -66,11 +66,13 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if showUser}}
|
{{#if showUser}}
|
||||||
{{user-selector
|
{{email-group-user-chooser
|
||||||
includeMessageableGroups="true"
|
|
||||||
placeholderKey=placeholderKey
|
placeholderKey=placeholderKey
|
||||||
usernames=value
|
value=value
|
||||||
autocomplete="discourse"
|
autocomplete="discourse"
|
||||||
onChangeCallback=(action "changeUserValue")}}
|
onChange=(action "changeUserValue")
|
||||||
|
options=(hash
|
||||||
|
includeMessageableGroups="true"
|
||||||
|
)}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Laden …
In neuem Issue referenzieren