Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/AppNavigation/CalendarShare.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AppNavigation/CalendarShare.vue b/src/components/AppNavigation/CalendarShare.vue
index d0eb24ad..d3229720 100644
--- a/src/components/AppNavigation/CalendarShare.vue
+++ b/src/components/AppNavigation/CalendarShare.vue
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="calendar-shares">
<ul>
<li class="app-navigation-entry__multiselect">
- <NcMultiselect id="users-groups-search"
+ <NcMultiselect ref="multiselect"
:options="usersOrGroups"
:searchable="true"
:internal-search="false"
@@ -101,7 +101,7 @@ export default {
},
mounted() {
// This ensures that the multiselect input is in focus as soon as the user clicks share
- document.getElementById('users-groups-search').focus()
+ this.$refs.multiselect?.focus?.()
},
methods: {
/**