Hi,

I need to put multiple expressions (values) in one INPUT field (see sample 
code below).  It seems to be working with Chrome browser, however, I still 
get behind-the-scene erorr of [ngModel:nonassign].

<form>
<ul ng-repeat="c in contacts">
 <li><input name="cityStateZip" ng-model="c.city + ', ' + c.state + ', ' + 
c.zip" value="{{c.city}}+', '+{{c.state}}+', '+{{c.zip}}"> </li> 
</ul>
</form> 

What is supposed to be the correct syntax for such a problem?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to