How to populate input text fields with Place Picker widget values

I have a component that I want to use to add an address to a supabase table. It has input text fields for all of the address info such as address, city, state, etc... Plus there are some additional fields such as Apt. #, Address name, Notes etc. that the user will fill out manually. I have added a Place Picker widget to the component. When the user uses the place picker to select a location I want to use the place picker widget values to populate the corresponding input text fields values. Then I will save all of the form fields to the database. I know how to do that but I don't see any way to populate those fields after the user selects the address. Is this possible?

17 replies