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.
In attribute variable inside directive, attribute does not has right value #5513
Closed
Description
When i create my directive to use with autoNumeric, try to use variable attr inside compile function, like this:
compile: function(tElm, tAttrs)
So, problem is, when i put in html data-a-sep attribute with value " " (space), when i try to get this value from directive by using this:
tAttrs.aSep it returns me empty, NOT a SPACE.
As for me - it`s a bug. Or i miss something?
Thanks a lot.