javascript - Error save data google place autocomplete Angular 2 -
error when try save data using google place autocomplete. error: uncaught error: cannot assign reference or variable!
</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>
Comments
Post a Comment