FEATURE: add missing autocomplete suppressions

Following 1f4ace4f add a couple more autocomplete suppressions (in polls
and invite ui)
This commit is contained in:
Sam 2019-02-21 16:19:08 +11:00
parent d3cd314a98
commit 79841cf7dd
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
usernames=emailOrUsername usernames=emailOrUsername
placeholderKey=placeholderKey placeholderKey=placeholderKey
class="invite-user-input" class="invite-user-input"
autocomplete="off"}} autocomplete="discourse"}}
{{else}} {{else}}
{{text-field {{text-field
class="email-or-username-input" class="email-or-username-input"

View File

@ -52,7 +52,7 @@
{{#unless isNumber}} {{#unless isNumber}}
<div class="input-group poll-textarea"> <div class="input-group poll-textarea">
<label>{{i18n 'poll.ui_builder.poll_options.label'}}</label> <label>{{i18n 'poll.ui_builder.poll_options.label'}}</label>
{{textarea value=pollOptions}} {{textarea value=pollOptions autocomplete="discourse"}}
{{input-tip validation=minNumOfOptionsValidation}} {{input-tip validation=minNumOfOptionsValidation}}
</div> </div>
{{/unless}} {{/unless}}