Autocomplete input component and directive for google-maps built with angular and material design |
169
stars
60
forks
source link
Facing an error while setting up the module. "No value accessor for form control with name: 'address'" #307
Closed
flynsequeira closed 5 months ago
OS: Windows 10 Angular Version - 6 Module version - 1.3
IMPORTS child module imports -
MatGoogleMapsAutocompleteModule
app.module imports -I'm using a reactive form approach as given in the npm page - https://www.npmjs.com/package/@angular-material-extensions/google-maps-autocomplete template
ts
OUTPUT
I'm getting multiple errors on loading the page
Please note as given in the image. But the reactive form doesn't update on clicking![image](https://user-images.githubusercontent.com/11032705/102137624-badf3d00-3e20-11eb-99ae-a68d72929c8c.png)
On using component based approach.
It does work. But only by using onAutocompleteSelected. It doesn't update the reactiveForm without that.