Increase search limit on team add user and improve placeholder (#29258) (#29261)

(cherry picked from commit a312f1ae80)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
Grot (@grafanabot)andDominik Prokop authored and GitHub committed 2020-11-20 13:17:59 +01:00
1 parent 881a595651
commit cffb1cd98d
1 file changed
+2 -2
@@ -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>