尝试使用Google地方自动填充功能保存数据时出错。 这个错误: 未捕获错误:无法分配给引用或变量!
</div><form #formEndereco="ngForm" (ngSubmit)="onSubmit()">
<select class="form-control" [(ngModel)]="options.componentRestrictions.country" name="options.componentRestrictions.country" >
<option *ngFor="let country of CountryCodes" [value]="country.Code">{{country.Name}}</option>
</select>
<table id="address">
<tr>
<td class="label">Street</td>
<td class="wideField" colspan="2"><input class="field" id="route"
#street=ngModel [(ngModel)] = "address.street" name="street"></td>
</tr>
</table>
<input type="submit" value="{{titulo}}" class="btn btn-success"/>
</form>