How to disable a button in ANGULARJS

后端 未结 4 1494
没有蜡笔的小新
没有蜡笔的小新 2020-12-17 19:56

i have angularJS 1.5.0-rc.2

I found on the internet that i can use the directive

data-ng-disabled=\"Expression\"

But it won\'t dis

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-17 20:36

    Always use the button tag with ng-disabled in angular js otherwise it will not work.

提交回复
热议问题