1
0
forked from mirror/misskey

ログイン画面のユーザー名フォームへのautocomplete設定 (#9515)

* Add username class to username form

* Fix add class process

* Set id

* Set autocomplete
This commit is contained in:
Masaya Suzuki 2023-01-12 09:33:06 +09:00 committed by GitHub
parent df56bd6d57
commit 6555644b88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
{{ message }}
</MkInfo>
<div v-if="!totpLogin" class="normal-signin _gaps_m">
<MkInput v-model="username" :placeholder="i18n.ts.username" type="text" pattern="^[a-zA-Z0-9_]+$" :spellcheck="false" autofocus required data-cy-signin-username @update:model-value="onUsernameChange">
<MkInput v-model="username" :placeholder="i18n.ts.username" type="text" pattern="^[a-zA-Z0-9_]+$" :spellcheck="false" autocomplete="username" autofocus required data-cy-signin-username @update:model-value="onUsernameChange">
<template #prefix>@</template>
<template #suffix>@{{ host }}</template>
</MkInput>