mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Increase search limit on team add user and improve placeholder (#29258)
This commit is contained in:
parent
671b319315
commit
a312f1ae80
@ -43,7 +43,7 @@ export class UserPicker extends Component<Props, State> {
|
||||
}
|
||||
|
||||
return getBackendSrv()
|
||||
.get(`/api/org/users/lookup?query=${query}&limit=10`)
|
||||
.get(`/api/org/users/lookup?query=${query}&limit=100`)
|
||||
.then((result: any) => {
|
||||
return result.map((user: any) => ({
|
||||
id: user.userId,
|
||||
@ -71,7 +71,7 @@ export class UserPicker extends Component<Props, State> {
|
||||
defaultOptions={true}
|
||||
loadOptions={this.debouncedSearch}
|
||||
onChange={onSelected}
|
||||
placeholder="Select user"
|
||||
placeholder="Start typing to search for user"
|
||||
noOptionsMessage="No users found"
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user