mirror of https://github.com/grafana/grafana.git
				
				
				
			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() |     return getBackendSrv() | ||||||
|       .get(`/api/org/users/lookup?query=${query}&limit=10`) |       .get(`/api/org/users/lookup?query=${query}&limit=100`) | ||||||
|       .then((result: any) => { |       .then((result: any) => { | ||||||
|         return result.map((user: any) => ({ |         return result.map((user: any) => ({ | ||||||
|           id: user.userId, |           id: user.userId, | ||||||
|  | @ -71,7 +71,7 @@ export class UserPicker extends Component<Props, State> { | ||||||
|           defaultOptions={true} |           defaultOptions={true} | ||||||
|           loadOptions={this.debouncedSearch} |           loadOptions={this.debouncedSearch} | ||||||
|           onChange={onSelected} |           onChange={onSelected} | ||||||
|           placeholder="Select user" |           placeholder="Start typing to search for user" | ||||||
|           noOptionsMessage="No users found" |           noOptionsMessage="No users found" | ||||||
|         /> |         /> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue