Skip to content

Commit

Permalink
Merge pull request #44616 from nextcloud/backport/44575/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(files_sharing): Disable autocomplete for share label and password
  • Loading branch information
susnux authored Apr 2, 2024
2 parents b261cc3 + 015faf5 commit 7e9ab7f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions apps/files_sharing/src/views/SharingDetailsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@
role="region">
<section>
<NcInputField v-if="isPublicShare"
:value.sync="share.label"
type="text"
:label="t('files_sharing', 'Share label')" />
autocomplete="off"
:label="t('files_sharing', 'Share label')"
:value.sync="share.label" />
<template v-if="isPublicShare">
<NcCheckboxRadioSwitch :checked.sync="isPasswordProtected" :disabled="isPasswordEnforced">
{{ t('files_sharing', 'Set password') }}
</NcCheckboxRadioSwitch>
<NcPasswordField v-if="isPasswordProtected"
autocomplete="new-password"
:value="hasUnsavedPassword ? share.newPassword : ''"
:error="passwordError"
:helper-text="errorPasswordLabel"
Expand Down
1 change: 0 additions & 1 deletion dist/6853-6853.js.map

This file was deleted.

6 changes: 3 additions & 3 deletions dist/6853-6853.js → dist/9845-9845.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/9845-9845.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit 7e9ab7f

Please sign in to comment.