Skip to content

Commit 994affc

Browse files
Fedor Moiseevbell-steven
authored andcommitted
fix autocomplete url params
replaced ?&input with ?input, this should fix filtering by type #686
1 parent 01879cd commit 994affc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GooglePlacesAutocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ export const GooglePlacesAutocomplete = forwardRef((props, ref) => {
513513

514514
request.open(
515515
'GET',
516-
`${url}/place/autocomplete/json?&input=` +
516+
`${url}/place/autocomplete/json?input=` +
517517
encodeURIComponent(text) +
518518
'&' +
519519
Qs.stringify(props.query),

0 commit comments

Comments
 (0)