# googleAddress

This is an input field that auto-complete address with Google Address.

> Please note, this field depend on the following:
>
> * [Google Maps API](https://developers.google.com/maps/documentation/javascript/places) &#x20;
>
>   eg. <https://maps.googleapis.com/maps/api/js?key=YOUR_KEY&libraries=places>

## Special properties of field

| Property         | Default | Accepted values                                                       | Description                                                                                                                                   |
| ---------------- | ------- | --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `autocomplete`   | *none*  | [see doc](https://html.spec.whatwg.org/multipage/forms.html#autofill) | Indicates whether the value of the control can be automatically completed by the browser.                                                     |
| `onPlaceChanged` | *none*  | `Function`                                                            | Will be called when the user select an address from list. Parameters of function: `onPlaceChanged(value, place, rawPlace, model, schema) { }` |
| `placeholder`    | *none*  | `String`                                                              | Placeholder text for input field                                                                                                              |
| `readonly`       | `false` | `Boolean`                                                             | If true, the input field is read only                                                                                                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vue-generators.gitbook.io/vue-generators/develop/fields/optional_fields/googleaddress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
