AngularJS conditional ng-disabled does not re-enable

前端 未结 3 2049
死守一世寂寞
死守一世寂寞 2021-02-06 21:47

Given a conditionally disabled text input field using ng-disabled=\"truthy_scope_variable\", AngularJS disables the field the first time the scope variable

3条回答
  •  一向
    一向 (楼主)
    2021-02-06 22:30

    There is an alternative solution available just use

    ng-value

     
    
    
          
    

提交回复
热议问题