Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ng-attr-xxx can't be used with ng-attr-data-xxx #15214

Open
@ayaka209

Description

@ayaka209

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.

Do you want to request a feature or report a bug?
report a bug

What is the current behavior?
when I set ng-attr-xxx and ng-attr-data-xxx, it only runs the last directive.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).

http://plnkr.co/edit/VdGOo2S5iMdruaB2BHvF?p=preview

please see the compiled code of the preview window. only one of data-xxx or xxx attribute shown in the DOM.

What is the expected behavior?

both data-xxx and xxx attribute should be in the DOM.

1.5.7 & 1.5.8 with Chrome 53.0

Thank you .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions