From fc93827162f31d036384bf3cbe94e62bc5cfb97c Mon Sep 17 00:00:00 2001 From: Akhil Date: Wed, 27 Dec 2023 15:05:35 +0530 Subject: [PATCH] Same changes as MR to other branch --- .../EditCalendarModal/SharingSearch.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/AppNavigation/EditCalendarModal/SharingSearch.vue b/src/components/AppNavigation/EditCalendarModal/SharingSearch.vue index 7eb6c9238..b7f05ca38 100644 --- a/src/components/AppNavigation/EditCalendarModal/SharingSearch.vue +++ b/src/components/AppNavigation/EditCalendarModal/SharingSearch.vue @@ -33,6 +33,7 @@ class="sharing-search__select" :class="{ 'showContent': inputGiven, 'icon-loading': isLoading }" :user-select="true" + :filter-by="filterResults" open-direction="above" track-by="user" label="displayName" @@ -90,7 +91,16 @@ export default { isCircle, }) }, - + /** + * Function to filter results in NcSelect + * + * @param {object} option + * @param {string} label + * @param {string} search + */ + filterResults(option, label, search) { + return true + }, /** * Use the cdav client call to find matches to the query from the existing Users & Groups * -- GitLab