You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for your dedication, it is helping a lot!
Is your feature request related to a problem? Please describe.
I want to transform a text field in an autocomplete field. To add more context, I'm using Vuetify so I want my field to have all their style, props etc. Maybe I'm losing something here, but the best way to do that right now seems to be like the default approach to create an autocomplete field with Javascript:
onMounted(() => {
new google.maps.places.Autocomplete(
document.findElementById("my-text-field"),
...
)
})
if thats the case, is there a way to access google.maps with script setup without adding <script> to index.html?
Describe the solution you'd like
Maybe we could make GMapAutocomplete receive childrens so we could use v-text-field inside? Or even a v-autocomplete?
Describe alternatives you've considered
Using google.maps in script setup is possible with <script> import, but if we it with vue-google-maps we get an alert that we're importing maps twice. Fixing this might be the best start to make us be able to use the default maps and vue-google-maps together.
The text was updated successfully, but these errors were encountered:
First of all, thanks for your dedication, it is helping a lot!
Is your feature request related to a problem? Please describe.
I want to transform a text field in an autocomplete field. To add more context, I'm using Vuetify so I want my field to have all their style, props etc. Maybe I'm losing something here, but the best way to do that right now seems to be like the default approach to create an autocomplete field with Javascript:
if thats the case, is there a way to access
google.maps
withscript setup
without adding<script>
toindex.html
?Describe the solution you'd like
Maybe we could make
GMapAutocomplete
receive childrens so we could usev-text-field
inside? Or even av-autocomplete
?Describe alternatives you've considered
Using
google.maps
inscript setup
is possible with<script>
import, but if we it withvue-google-maps
we get an alert that we're importing maps twice. Fixing this might be the best start to make us be able to use the default maps andvue-google-maps
together.The text was updated successfully, but these errors were encountered: