popovers: Disable autocomplete on popover filter widgets.

This commit is contained in:
Tim Abbott 2024-07-09 15:46:26 -07:00
parent 04e2728cb0
commit cda201176c
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<div class="arrow"></div>
<div class="popover-inner">
<div class="popover-filter-input-wrapper">
<input type="text" id="giphy-search-query" class="popover-filter-input filter_text_input" placeholder="{{t 'Filter' }}" autofocus/>
<input type="text" id="giphy-search-query" class="popover-filter-input filter_text_input" autocomplete="off" placeholder="{{t 'Filter' }}" autofocus/>
</div>
<div class="giphy-scrolling-container" data-simplebar data-simplebar-tab-index="-1">
{{! We need a container we can replace

View File

@ -1,7 +1,7 @@
<div class="emoji-picker-popover" data-emoji-destination="{{#if message_id }}reaction{{else if is_status_emoji_popover}}status{{else}}composition{{/if}}">
<div class="emoji-popover">
<div class="popover-filter-input-wrapper">
<input id="emoji-popover-filter" class="popover-filter-input filter_text_input" type="text" placeholder="{{t 'Filter' }}" autofocus/>
<input id="emoji-popover-filter" class="popover-filter-input filter_text_input" type="text" autocomplete="off" placeholder="{{t 'Filter' }}" autofocus/>
</div>
<div class="emoji-popover-category-tabs">
{{#each emoji_categories}}