From 77d06a0924e202456d7f5e0694e7289ca758b800 Mon Sep 17 00:00:00 2001 From: Johannes Schill Date: Wed, 10 Oct 2018 14:11:25 +0200 Subject: [PATCH] User filtering now works properly at the backend #13425 --- public/app/core/components/Picker/UserPicker.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/app/core/components/Picker/UserPicker.tsx b/public/app/core/components/Picker/UserPicker.tsx index ee362c7799d..f78cf69bf5e 100644 --- a/public/app/core/components/Picker/UserPicker.tsx +++ b/public/app/core/components/Picker/UserPicker.tsx @@ -71,9 +71,6 @@ export class UserPicker extends Component { NoOptionsMessage, }} placeholder="Select user" - filterOption={(option: { label: string }, searchText?: string) => { - return option.label.includes(searchText); - }} loadingMessage={() => 'Loading...'} noOptionsMessage={() => 'No users found'} getOptionValue={i => i.id}