This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232058 - ng-disabled is not supported
Summary: ng-disabled is not supported
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 08:13 UTC by Petr Pisl
Modified: 2013-07-02 02:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2013-07-01 08:13:34 UTC
Have a code:
<!doctype html>
<html ng-app>
    <head>
    </head>
    <body ng-controller="SettingsController">
        Click me to toggle: <input type="checkbox" ng-model="checked"><br/>
        <button ng-model="button" ng-disabled="checked">Button</button>
    </body>
</html>


file.js:
function SettingsController($scope) {
    $scope.checked = true;
    $scope.button = "";
}

The checked property in ng-disabled is not processed.
Comment 1 Petr Pisl 2013-07-01 08:29:19 UTC
Fixed in the web-main: http://hg.netbeans.org/web-main/rev/1bd8662d9572

Currently there are supported these directives: ng-controller, ng-model, ng-repeat and ng-disabled. Please, add new issue, if there are another directives, that should be supported.
Comment 2 Quality Engineering 2013-07-02 02:15:11 UTC
Integrated into 'main-silver', will be available in build *201307012300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1bd8662d9572
User: Petr Pisl <ppisl@netbeans.org>
Log: #232058 - ng-disabled is not supported