Procházet zdrojové kódy

User filtering now works properly at the backend #13425

Johannes Schill před 7 roky
rodič
revize
77d06a0924

+ 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}