|
|
@ -440,10 +440,20 @@ function formMarkRegex(terms: Set<string>) {
|
|
|
|
<input
|
|
|
|
<input
|
|
|
|
ref="searchInput"
|
|
|
|
ref="searchInput"
|
|
|
|
v-model="filterText"
|
|
|
|
v-model="filterText"
|
|
|
|
:placeholder="buttonText"
|
|
|
|
:aria-activedescendant="selectedIndex > -1 ? ('localsearch-item-' + selectedIndex) : undefined"
|
|
|
|
id="localsearch-input"
|
|
|
|
aria-autocomplete="both"
|
|
|
|
|
|
|
|
:aria-controls="results?.length ? 'localsearch-list' : undefined"
|
|
|
|
aria-labelledby="localsearch-label"
|
|
|
|
aria-labelledby="localsearch-label"
|
|
|
|
|
|
|
|
autocapitalize="off"
|
|
|
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
|
|
|
autocorrect="off"
|
|
|
|
class="search-input"
|
|
|
|
class="search-input"
|
|
|
|
|
|
|
|
id="localsearch-input"
|
|
|
|
|
|
|
|
enterkeyhint="go"
|
|
|
|
|
|
|
|
maxlength="64"
|
|
|
|
|
|
|
|
:placeholder="buttonText"
|
|
|
|
|
|
|
|
spellcheck="false"
|
|
|
|
|
|
|
|
type="search"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<div class="search-actions">
|
|
|
|
<div class="search-actions">
|
|
|
|
<button
|
|
|
|
<button
|
|
|
@ -482,8 +492,9 @@ function formMarkRegex(terms: Set<string>) {
|
|
|
|
<li
|
|
|
|
<li
|
|
|
|
v-for="(p, index) in results"
|
|
|
|
v-for="(p, index) in results"
|
|
|
|
:key="p.id"
|
|
|
|
:key="p.id"
|
|
|
|
role="option"
|
|
|
|
:id="'localsearch-item-' + index"
|
|
|
|
:aria-selected="selectedIndex === index ? 'true' : 'false'"
|
|
|
|
:aria-selected="selectedIndex === index ? 'true' : 'false'"
|
|
|
|
|
|
|
|
role="option"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
<a
|
|
|
|
:href="p.id"
|
|
|
|
:href="p.id"
|
|
|
|