Commit 77d06a09 by Johannes Schill

User filtering now works properly at the backend #13425

parent 779691a0
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment