User filtering now works properly at the backend #13425

This commit is contained in:
Johannes Schill
2018-10-10 14:15:28 +02:00
parent 779691a072
commit 77d06a0924
@@ -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}