Autocomplete address with Google Places and Stimulus - clearbnb - Part 4

In this episode, we'll work more on the Listing create form by adding support for address autocomplete with the Google Places API. We'll talk about some stimulus.js basics and wire up a stimulus controller to handle the place completed event.

Inspiration for the loaded event from Chris Oliver's episode here: https://www.youtube.com/watch?v=odziYrbiphA

stimulus-rails https://github.com/hotwired/stimulus-rails

Places autocomplete docs https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform#maps_places_autocomplete_addressform-javascript
#rails #rubyonrails