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