We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938289c commit d9ba5d6Copy full SHA for d9ba5d6
1 file changed
apps/files_sharing/src/components/SharingInput.vue
@@ -5,13 +5,13 @@
5
6
<template>
7
<div class="sharing-search">
8
- <label class="hidden-visually" for="sharing-search-input">
+ <label class="hidden-visually" :for="shareInputId">
9
{{ isExternal ? t('files_sharing', 'Enter external recipients')
10
: t('files_sharing', 'Search for internal recipients') }}
11
</label>
12
<NcSelect ref="select"
13
v-model="value"
14
- input-id="sharing-search-input"
+ :input-id="shareInputId"
15
class="sharing-search__input"
16
:disabled="!canReshare"
17
:loading="loading"
@@ -87,6 +87,12 @@ export default {
87
},
88
89
90
+ setup() {
91
+ return {
92
+ shareInputId: `share-input-${Math.random().toString(36).slice(2, 7)}`,
93
+ }
94
+ },
95
+
96
data() {
97
return {
98
config: new Config(),
0 commit comments