Przeglądaj źródła

User filtering now works properly at the backend #13425

Johannes Schill 7 lat temu
rodzic
commit
77d06a0924
1 zmienionych plików z 0 dodań i 3 usunięć
  1. 0 3
      public/app/core/components/Picker/UserPicker.tsx

+ 0 - 3
public/app/core/components/Picker/UserPicker.tsx

@@ -71,9 +71,6 @@ export class UserPicker extends Component<Props, State> {
             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}