place-input
title: PlaceInput
PlaceInput
Deprecated true
PlaceInput component
[See](source code) ,[See](Map Bounds)
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| bounds | Map bounds this is an LatLngBounds object builded with @value new google.maps.LatLngBounds(...)@see Map Bounds | object | - | undefined |
| defaultPlace | A default value for the html input@value string | string | - | '' |
| componentRestrictions | Restrict the search to a specific country@value \{[key: string]: string\}@see componentRestrictions | object | - | null |
| types | Map types this is an array of strings@value string[]@see Map Bounds | array | - | undefined |
| placeholder | A placeholder for the html input@value string | string | - | undefined |
| className | A html class name for the html input@value string | string | - | undefined |
| label | A label for the html input@value string | string | - | null |
| selectFirstOnEnter | If true the first element on the list will be selected when you press enter in the html input. @value boolean | boolean | - | false |
Events
| Event name | Properties | Description |
|---|---|---|
| place_changed | place object - this.$autocomplete.getPlace() | Place change event |