Home Incompatibility between ng-value and ng-model
Reply: 0

Incompatibility between ng-value and ng-model

user369
1#
user369 Published in April 26, 2018, 1:44 pm

I have a problem using ng-value and ng-model. If I use ng-value, data does not bind. Is there a way to have both?

<select next-focus tabindex="0" ng-model="plan.tipo_plan" class="input-sm select-control">
    <option ng-repeat="p in planes" ng-value="{{p.id_tipo}}">{{p.tipo_plan}}</option>
</select>
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.335325 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO