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
path: root/src
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2022-09-19 16:53:04 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2022-09-19 16:53:04 +0300
commite484ef3e9c7e1273fda82db011cce3508021f1b7 (patch)
tree2c9b02118e91508748e28f41533aca8bd8c268b5 /src
parent9683e331cee01779ed8cdbb37ac1654714179af7 (diff)
Focus sharing multiselect by refs
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'src')
-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: {
/**