fix(web): shared-link autocomplete (#20761)

This commit is contained in:
Jason Rasmussen 2025-08-07 13:01:05 -04:00 committed by GitHub
parent c74989d304
commit a896c5a4dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,7 +165,7 @@
<div class="flex flex-col gap-4 mt-4">
<div>
<Field label={$t('custom_url')} description={$t('shared_link_custom_url_description')}>
<Input bind:value={slug} placeholder="immich-10000" />
<Input bind:value={slug} autocomplete="off" />
</Field>
{#if slug}
<Text size="tiny" color="muted" class="pt-2">/s/{encodeURIComponent(slug)}</Text>
@ -173,11 +173,11 @@
</div>
<Field label={$t('password')} description={$t('shared_link_password_description')}>
<PasswordInput bind:value={password} />
<PasswordInput bind:value={password} autocomplete="new-password" />
</Field>
<Field label={$t('description')}>
<Input bind:value={description} />
<Input bind:value={description} autocomplete="off" />
</Field>
<div class="mt-2">