Skip to content

How to limit the auto complete area #272

Closed Answered by joe94113
JiaZhi-hong asked this question in Q&A
Discussion options

You must be logged in to vote

The component restrictions. Component restrictions are used to restrict predictions to only those within the parent component. For example, the country.

<gmap-autocomplete
    :options="{
      componentRestrictions: {
        country: ['TW'],
      },
    }"
>
</gmap-autocomplete>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by diegoazh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants