samedi 10 février 2018

ng-model and ng-repeat problems

I am trying to achieve a simple form with many items and an input box before each item to put the quantity, but the model isn't changing value. What did I miss?

    <ul class="accessoires-col">
        <li ng-repeat='acc in accessoires'>
            <input type="text" name='txtacc' ng-model="mod[acc.id]" style="width: 35px; height: 20px"> 
        </li>
    </ul>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire