diff --git a/apps/files/src/components/Collaborators/NewCollaborator.vue b/apps/files/src/components/Collaborators/NewCollaborator.vue
index 8001562bee5..1277e394112 100644
--- a/apps/files/src/components/Collaborators/NewCollaborator.vue
+++ b/apps/files/src/components/Collaborators/NewCollaborator.vue
@@ -9,6 +9,7 @@
:placeholder="$_ocCollaborationStatus_autocompletePlacholder"
@update:input="onAutocompleteInput"
:filter="filterRecipients"
+ :fillOnSelection="false"
id="oc-sharing-autocomplete"
ref="ocSharingAutocomplete"
class="uk-width-1-1"
@@ -41,13 +42,12 @@
(group)
-
+
+
+
@@ -70,6 +70,7 @@
+
@@ -91,6 +92,8 @@ export default {
data () {
return {
autocompleteResults: [],
+ announcement: '',
+ announcementWhenCollaboratorAdded: this.$gettext('Collaborator was added'),
autocompleteInProgress: false,
selectedCollaborators: [],
selectedRole: null,
@@ -173,6 +176,7 @@ export default {
return false
}
+ this.announcement = this.announcementWhenCollaboratorAdded
return true
})
diff --git a/apps/files/src/components/FileSharingSidebar.vue b/apps/files/src/components/FileSharingSidebar.vue
index 87e7c74a9fe..c0ad5bcfb3c 100644
--- a/apps/files/src/components/FileSharingSidebar.vue
+++ b/apps/files/src/components/FileSharingSidebar.vue
@@ -1,6 +1,6 @@