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
When I try to input options it is showing me this error:
Type '{ componentRestrictions: { country: string; }; }' is missing the following properties from type 'Options': bounds, types, fields, strictBounds, origin
17 [options]="{
~~~~~~~
The error is because in the Options Interface all properties are required. However, I think these should be optional. For example,
I want to restrict the country , but I do not want to set bounds, and this is not possible right now, please help. Thank you
When I try to input options it is showing me this error:
Type '{ componentRestrictions: { country: string; }; }' is missing the following properties from type 'Options': bounds, types, fields, strictBounds, origin
17 [options]="{
~~~~~~~
The error is because in the Options Interface all properties are required. However, I think these should be optional. For example,
I want to restrict the country , but I do not want to set bounds, and this is not possible right now, please help. Thank you
Versions
"@angular/core": "^12.0.0",
"ngx-google-places-autocomplete": "^2.0.5",
The text was updated successfully, but these errors were encountered: