The sign-in fields say nothing until you type

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
tajniak81
2026-09-03 08:51:19 +02:00
co-authored by Claude Opus 5
parent 4ff6242c8f
commit 0657decbd1
+2 -2
View File
@@ -41,13 +41,13 @@ async function submit() {
<p v-if="error" class="rounded-control bg-danger-soft px-3 py-2 text-sm font-medium text-danger">{{ error }}</p>
<div>
<label class="dh-label">{{ t("login.email") }}</label>
<input v-model="email" type="email" required autocomplete="username" class="dh-input" />
<input v-model="email" type="email" required autocomplete="username" class="dh-input" placeholder="you@example.com" />
</div>
<div>
<label class="dh-label">{{ t("login.password") }}</label>
<div class="relative">
<input v-model="password" :type="showPassword ? 'text' : 'password'" required autocomplete="current-password"
class="dh-input pr-10" />
class="dh-input pr-10" placeholder="••••••••" />
<button type="button" @click="showPassword = !showPassword"
:aria-label="showPassword ? t('login.hidePassword') : t('login.showPassword')"
class="absolute inset-y-0 right-0 flex items-center px-3 text-muted transition-colors hover:text-strong">