googlemaps / googlemaps/extended-component-library
PlacePicker onPlaceChange does not work as expected
- Dominant language
- TypeScript
- Stars
- 192
- Forks
- 22
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 8
Description
#### Environment details
- Framework: NextJS 14
- Language: TypeScript
- Library Version: @googlemaps/extended-component-library": "^0.6.11
I was following the library tutorial here - [link](https://configure.mapsplatform.google/place-picker) and copied the code, but it does not work as expected. For the `onPlaceChange` function, it does not have the "value" attribute. I am not sure how I can retrieve the `formattedAddress` value from the event. Any help is appreciated!


#### Steps to reproduce
1. Create a next js project.
2. Install @googlemaps/extended-component-library": "^0.6.11.
3. Create a component with the code below
#### Code example
```typescript
"use client";
import {
APILoader,
PlacePicker,
} from "@googlemaps/extended-component-library/react";
export default function MyPicker() {
return (
{
// e.target. // This line does not work as expected
}}
/>
);
}
```
#### Stack trace
N.A
Contributor guide
Assessment
This issue has not been assessed yet.