Binding inputs to an array of primitives using ngRepeat => uneditable inputs

后端 未结 5 1382
一整个雨季
一整个雨季 2020-12-02 15:46

Here is a demo to my problem.

$scope.myNumbers = [10, 20, 30];

   
5条回答
  •  星月不相逢
    2020-12-02 16:08

    Seems that Angular is not able to write to model defined that way. Use reference to initial $scope attribute to let it bind value right way:

提交回复
热议问题