Negative option was leading to a fair amount of confusion, going forward
if we want to allow selection of emails from user selector it must be
supplied with `allowEmails=true`
This corrects a regression in 1f4ace4f which broke invite by emails and
start PM to email
18 lines
671 B
Handlebars
18 lines
671 B
Handlebars
{{#if showSelector}}
|
|
{{user-selector topicId=topicId
|
|
onChangeCallback=(action "triggerResize")
|
|
id="private-message-users"
|
|
includeMessageableGroups='true'
|
|
placeholderKey="composer.users_placeholder"
|
|
tabindex="1"
|
|
usernames=usernames
|
|
hasGroups=hasGroups
|
|
allowEmails='true'
|
|
autocomplete="discourse"}}
|
|
{{else}}
|
|
<div class='ac-wrap composer-user-selector-limited' {{action "toggleSelector"}}>
|
|
<span>{{limitedUsernames}}</span>
|
|
<span class='btn btn-primary'>{{hiddenUsersCount}}</span>
|
|
</div>
|
|
{{/if}}
|