Skip to content

rc disabled is not triggering when there is change in value #5

@arjunasuresh3

Description

@arjunasuresh3

Angular js version - v1.2.7

var rcDisabledDirective = {
'rcDisabled': ['rcDisabled', function (rcDisabled) {
return {
restrict: 'A',
link: function (scope, element, attributes) {
scope.$watch(attributes.rcDisabled, function(isDisabled) {
rcDisabled.disable(element, isDisabled); // This is not getting triggered when there is change in submitInProgress value from false to true
});
}
}
}]
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions