Answer the question
In order to leave comments, you need to log in
How to prevent form submission when location is selected in react-google-places-suggest?
There is such a select for selecting locations , it is in the form, when I select a location by pressing enter, the form is sent, preventDefault does not help, playing with keyCode too, the form still flies to the server, how to prevent this in a normal way?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question