Track_
Track_
Hi @Webberjo, i need you'r help for that's code : ```typescript autoCompleteCallback(selectedData: any) { this.myForm.get('myControl').setValue(dbReturnValue); (document.getElementById('search_places')).value = dbReturnValue; } ``` Where does the " myForm " & " ('myControl') "...
Hum, try to run your solution but not work.. Look my component.ts, maybe i that he will inspire you ```typescript import { ActivatedRoute } from '@angular/router'; import { Router }...
Okay autocomplete work and parsing : look this [screen](https://ibb.co/jJLnFn) Then, to inject autocomplete into my input ,I tried two solutions. 1 A first solution with the hidden input ```javascript autoCompleteCallback(address:...
I think we are getting closer to the goal. console.log gave me everything I needed but, I tried this solution just for add address, ```javascript autoCompleteCallback(data: any) { // console.log(data);...
Okay find the solution ```javascript autoCompleteCallback1(data: any) { console.log(data) this.cavist = { title: this.cavist.title, description: this.cavist.description, imageUrl: this.cavist.imageUrl, adress: data.data.name, zipcode: data.data.address_components[6].short_name, city: data.data.vicinity, lat: data.data.geometry.location.lat, lng: data.data.geometry.location.lng }; }...
Sorry, all work's fine with : ```javascript autoCompleteCallback(data: any) { console.log(data) this.cavist = { title: this.cavist.title, description: this.cavist.description, imageUrl: this.cavist.imageUrl, adress: data.data.name, zipcode: data.data.address_components[6].short_name, city: data.data.vicinity, lat: data.data.geometry.location.lat, lng: data.data.geometry.location.lng...
@Webberjo All works fine with my last code ! An other question : Do you know how I could get the address of the cavist in the placeholder of ng4-geoautocomplete?...
Hum okay it's something like that but I still do not understand how to recover cavist.adress ```javascript this.userSettings5['inputPlaceholderText'] = 'this.cavist.adress'; this.userSettings5 = Object.assign({},this.userSettings5); ``` This not work but that's the...
Exactly, it's because I use agm at the same time, so with the src script I have a conflict with 2 google API called at the same time. ```javascript AgmCoreModule.forRoot({...
Unfortunately I need the agm core to display a Google map (with markers, ...) on another page of my website, so ..