I'm receiving dynamic data from the backend. During the "Update" process I need to patch the value to all the input fields. While all the other input fields get pre-populated, only the "mat-google-maps-autocomplete" input field remains unpatched.
Below I've attached a screenshot of the form that I'm working on. You can observe that all the input fields are pre-populated except the "Enter Address" field, which is a mat-google-maps-autocomplete field. Also, I've highlighted by using arrows, that the value is getting assigned to the mat-google-maps-autocomplete FormControl, but the value is not visible in the HTML.
Desired functionality
I want the backend data to get patched/pre-populated on mat-google-maps-autocomplete in the HTML view. I want the patch value to work on the mat-google-maps-autocomplete field.
Mention any other details that might be useful
I'm working on CRUD operations, where during the update process, I'm receiving dynamic data from the backend, which I need to patch to the form input boxes. PatchValue is working on other input fields throughout the project, except the google places autocomplete search box.
Bug Report or Feature Request (mark with an
x
)OS and Version?
Windows 10
Versions
ng--version (9.1.15) node --version (12.16.2)
Repro steps
HTML
TS
The log given by the failure
I'm receiving dynamic data from the backend. During the "Update" process I need to patch the value to all the input fields. While all the other input fields get pre-populated, only the "mat-google-maps-autocomplete" input field remains unpatched. Below I've attached a screenshot of the form that I'm working on. You can observe that all the input fields are pre-populated except the "Enter Address" field, which is a mat-google-maps-autocomplete field. Also, I've highlighted by using arrows, that the value is getting assigned to the mat-google-maps-autocomplete FormControl, but the value is not visible in the HTML.
Desired functionality
I want the backend data to get patched/pre-populated on mat-google-maps-autocomplete in the HTML view. I want the patch value to work on the mat-google-maps-autocomplete field.
Mention any other details that might be useful
I'm working on CRUD operations, where during the update process, I'm receiving dynamic data from the backend, which I need to patch to the form input boxes. PatchValue is working on other input fields throughout the project, except the google places autocomplete search box.![google-address](https://user-images.githubusercontent.com/39290808/122821729-d315a480-d2fa-11eb-9b33-a5c7976dba14.png)