diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-02-03 11:58:51 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-02-03 11:58:51 +0100 |
commit | 4a5f18359f05b5784adade59d74f377892252e20 (patch) | |
tree | 8c3f49d5345ee00a6275c345ab9214c2d2c1b857 /apps | |
parent | c9af72ec3090d36e1c848aa03915824f7b1275bc (diff) | |
download | nextcloud-server-4a5f18359f05b5784adade59d74f377892252e20.tar.gz nextcloud-server-4a5f18359f05b5784adade59d74f377892252e20.zip |
Fix issue when selecting an entry, the multiselect input was not closed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/components/TransferOwnershipDialogue.vue | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue index 5a897d4d924..d6f55879c63 100644 --- a/apps/files/src/components/TransferOwnershipDialogue.vue +++ b/apps/files/src/components/TransferOwnershipDialogue.vue @@ -34,25 +34,26 @@ <span class="error">{{ directoryPickerError }}</span> </p> <p class="new-owner-row"> - <label> + <label for="targetUser"> <span>{{ t('files', 'New owner') }}</span> - <Multiselect - v-model="selectedUser" - :options="formatedUserSuggestions" - :multiple="false" - :searchable="true" - :placeholder="t('files', 'Search users')" - :preselect-first="true" - :preserve-search="true" - :loading="loadingUsers" - track-by="user" - label="displayName" - :internal-search="false" - :clear-on-select="false" - :user-select="true" - class="middle-align" - @search-change="findUserDebounced" /> </label> + <Multiselect + id="targetUser" + v-model="selectedUser" + :options="formatedUserSuggestions" + :multiple="false" + :searchable="true" + :placeholder="t('files', 'Search users')" + :preselect-first="true" + :preserve-search="true" + :loading="loadingUsers" + track-by="user" + label="displayName" + :internal-search="false" + :clear-on-select="false" + :user-select="true" + class="middle-align" + @search-change="findUserDebounced" /> </p> <p> <input type="submit" @@ -231,16 +232,15 @@ p { label { display: flex; align-items: center; - flex-grow: 1; span { margin-right: 8px; } + } - .multiselect { - flex-grow: 1; - max-width: 280px; - } + .multiselect { + flex-grow: 1; + max-width: 280px; } } .transfer-select-row { |