Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minification breaks attributes like selected, required and other HTML "reserved" attributes used in conjunction with a directive #128

Open
HadrienPierart opened this issue Aug 7, 2015 · 0 comments

Comments

@HadrienPierart
Copy link

Lets say we have a directive called my-dropdown which publish its current selection through a selected attribute. HTML minification breaks the binding.

<my-dropdown selected="controller.mySelection"></my-dropdown>
// is minified into 
<my-dropdown selected></my-dropdown>

I hope this helps others who might be encountering the same kind of issue because this one had me pulling my hair off for a few hours before realizing that this was not my code but the minification :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant