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() | ||||
|       .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