Trigger google places api on button click instead of input change
I’m working on a React.js project using Material-UI (MUI), and I have a component where users need to enter their address. To minimize API costs, I want to trigger the Google Places API only when the user clicks a button, rather than on every input change.