-
Notifications
You must be signed in to change notification settings - Fork 27.5k
1.6.x: underscore prefix is not ignored in attribute directive's name #16278
Comments
I can confirm that this is a bug. It appears that the regex replace is converting the |
Previously our
|
One option to fix this could be to update the |
Is there any chance for this to be fixed in the nearest future? |
@mgol confirmed that it is a regression. We now need a PR to fix it. Fancy having a go at that @curlydevil ? |
@petebacondarwin I'll try) |
@petebacondarwin I've created a PR but created it into |
No against master is fine. We will cherry-pick as necessary. |
I'm submitting a ...
Current behavior:
Attribute directive registered as e.g. "t" and used on elements as "_t" is not working.
Expected / new behavior:
Attribute directive registered as e.g. "t" can be used as "_t" again.
Minimal reproduction of the problem with instructions:
comment/uncomment 1.6 vs 1.5 ng version to see the difference
https://plnkr.co/edit/earjy4mhjccYIexn7WYk?p=preview
AngularJS version: 1.x.y
1.5.x - works as described in 'expected' section, 1.6.x - does not work.
Browser:
not a browser-specific issue
Anything else:
My best guess, this bug was introduced in this commit:
73050cd#diff-a732922b631efed1b9f33a24082ae0dbR3600
The text was updated successfully, but these errors were encountered: