autofocus everywhere.

This commit is contained in:
fiatjaf 2022-01-01 10:36:21 -03:00
parent df048194be
commit 11e350585e
4 changed files with 11 additions and 2 deletions

View File

@ -2,7 +2,14 @@
<q-card class="no-shadow py-6 bg-inherit">
<q-card-section>
<q-form @submit="sendPost">
<q-input v-model="text" dense label="Say something" maxlength="280">
<q-input
v-model="text"
dense
autogrow
autofocus
label="Say something"
maxlength="280"
>
<template #before>
<q-avatar
round

View File

@ -4,6 +4,7 @@
v-model="text"
dense
autogrow
autofocus
label="Reply to this note"
maxlength="280"
>

View File

@ -90,6 +90,7 @@
<q-input
v-model="key"
autogrow
autofocus
label="BIP39 Seed Words, private key or public key"
class="text-lg"
/>

View File

@ -21,7 +21,7 @@
<q-form @submit="submitMessage" @reset="text = ''">
<div class="flex w-full mt-4">
<q-input v-model="text" class="w-full" filled>
<q-input v-model="text" autofocus class="w-full" filled>
<template #append>
<q-btn
unelevated