Cannot enabled button with latest angular - disabled not working

511 views
Skip to first unread message

Sunny

unread,
Apr 26, 2012, 8:31:25 PM4/26/12
to ang...@googlegroups.com
The following use to work with RC1 but it does not work anymore with RC6.
The button is always disabled, no matter the value of boolean disableSearch.
<input type="button" class="btn btn-info btn-large" style="margin-top10px" value="submit" ng-click="PerformSearch()" disabled="{{disableSearch}}">

Any workarounds ??

ProLoser

unread,
Apr 26, 2012, 8:41:05 PM4/26/12
to ang...@googlegroups.com
Remove the {{}} perhaps? That was a weird exception I brought up which they (hopefully) addressed in RC6

Sunny

unread,
Apr 26, 2012, 8:44:51 PM4/26/12
to ang...@googlegroups.com

ProLoser

unread,
Apr 26, 2012, 8:48:13 PM4/26/12
to ang...@googlegroups.com

Sunny

unread,
Apr 26, 2012, 9:43:04 PM4/26/12
to ang...@googlegroups.com
Thanks. It works now. We have to use ng-disabled without {{}}. 
Reply all
Reply to author
Forward
0 new messages