forked from FoundKeyGang/FoundKey
client: autofocus on search input field
This should better replicate the previous behaviour of the text input dialog.
This commit is contained in:
parent
cb65e1556f
commit
1f037e18d6
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
<MkSpacer :content-max="800">
|
<MkSpacer :content-max="800">
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #header>{{ i18n.ts.search }}</template>
|
<template #header>{{ i18n.ts.search }}</template>
|
||||||
<MkInput v-model="query" class="input" tabindex="1" @keydown="keydown">
|
<MkInput v-model="query" :autofocus="true" class="input" tabindex="1" @keydown="keydown">
|
||||||
<template #prefix><i class="fas fa-magnifying-glass"></i></template>
|
<template #prefix><i class="fas fa-magnifying-glass"></i></template>
|
||||||
<template v-if="tab === 'users'" #label>{{ i18n.ts.username }}</template>
|
<template v-if="tab === 'users'" #label>{{ i18n.ts.username }}</template>
|
||||||
<template v-if="tab === 'all'" #caption>Try entering a URL or user handle!</template>
|
<template v-if="tab === 'all'" #caption>Try entering a URL or user handle!</template>
|
||||||
|
|
Loading…
Reference in a new issue