Wrapper on top of Multiselect for Address autocompletation with OSM and custom geocoding APIs
Note: :internal-search="false" should be set to false, otherwise, async fetching does't work.
Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
value |
String | - | Yes | Two-way-binding object (v-model) to store place details |
providerName |
String | - | Yes | API to hit (OSM, OpenCage, GoogleMaps, Simpliciti APIs, etc) |
placeholder |
String | - | Yes | Select placeholder (Uses i18n $t method if available) |
extraOptions |
String | - | Yes | https://vue-multiselect.js.org/#sub-props |
Methods
# updateFromValue()
If no selection, try to forward geocoding the address given by v-model