Binding value to input in Angular JS

后端 未结 5 1771
情歌与酒
情歌与酒 2020-12-13 18:20

I have input like this


I want to ch

5条回答
  •  醉酒成梦
    2020-12-13 18:40

    Some times there are problems with funtion/features that do not interact with the DOM

    try to change the value sharply and then assign the $scope

    document.getElementById ("textWidget") value = "";
    $scope.widget.title = "";
    

提交回复
热议问题